POST api/BillingService/UpdateProduct

Documentation for 'UpdateProduct'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "product_text_id": "sample string 1",
  "netsuite_id": "sample string 2",
  "product_price": 3.0,
  "currency_type": "sample string 4",
  "stock_count": 5,
  "product_state": 0,
  "return_cost": 6.0
}

application/xml, text/xml

Sample:
<UpdateProductRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.Billing">
  <currency_type>sample string 4</currency_type>
  <netsuite_id>sample string 2</netsuite_id>
  <product_price>3</product_price>
  <product_state>None</product_state>
  <product_text_id>sample string 1</product_text_id>
  <return_cost>6</return_cost>
  <stock_count>5</stock_count>
</UpdateProductRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "is_success": true,
  "error_message": "sample string 2",
  "exception_name": "sample string 3",
  "error_code": 4
}

application/xml, text/xml

Sample:
<Void xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.NewAPI">
  <error_code xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">4</error_code>
  <error_message xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 2</error_message>
  <exception_name xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 3</exception_name>
  <is_success xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">true</is_success>
</Void>