Update an existing ServiceItem
PUT
/v{version}/serviceItemsUpdate an existing ServiceItem...
Request
Path Params
version
string
required
The requested API version
Default:
2.0
Body Params application/x-www-form-urlencoded
id
integer <int32>
optional
Gets or Sets Id
code
string
optional
Gets or Sets Code
description
string
optional
Gets or Sets Description
price
number <double>
optional
Gets or Sets Price
tax_id
integer <int32>
optional
Gets or Sets TaxId
withholding_tax_id
integer <int32>
optional
Gets or Sets WithholdingTaxId
item_discount
number <double>
optional
Gets or Sets ItemDiscount
item_discount_type
number <double>
optional
Gets or Sets Item Discount TYpe (0 for value and 1 for percentage)
cost
number <double>
optional
Gets or Sets Cost
is_shipping_service
boolean
optional
Gets or Sets IsShippingService
external_id
string
optional
Gets or Sets External ID
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Forbidden(403)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
OK
Data Schema
No schema defined
Example
Not configured
Last modified: 5 days ago