Create a new ServiceItem
POST
/v{version}/serviceItemsCreate a new 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
status_code
integer <int32>
optional
Gets or sets the status_code.
error_message
string
optional
Gets or sets the error_message.
result
array[integer <int32>]
optional
Gets or sets the result.
total_count
integer <int32>
optional
Example
Not configured
Last modified: 5 days ago