Add new order item
Add new order item
Authorizations:Token
Request Body Schema:
OrderItem object that needs to be added privateAttachments | ArrayOrder items |
categoryAdded | stringCategory added name |
pinCodes | ArrayPin codes (relation) |
vatRate | stringItem VAT rate: <rate value><rate type> (e.g. 10%, 10) |
capostParcelItems | ArrayCanada Post parcel items (reference to the Canada Post parcel item model) |
capostReturnItems | ArrayCanada Post return items (reference to the Canada Post return item model) |
customerAttachments | ArrayCustomer file attachments |
parcelItems | ArrayPitney Bowes order association |
variant | |
item_id | integerPrimary key |
object | |
name | stringItem name |
sku | stringItem SKU |
price | stringItem price |
itemNetPrice | stringItem net price |
discountedSubtotal | stringItem discounted subtotal |
amount | integerItem quantity |
order | |
surcharges | ArrayOrder item surcharges |
attributeValues | ArrayAttribute values |
total | stringTotal |
subtotal | stringSubtotal |
Responses
200Success
Response schema:
Success privateAttachments | ArrayOrder items |
categoryAdded | stringCategory added name |
pinCodes | ArrayPin codes (relation) |
vatRate | stringItem VAT rate: <rate value><rate type> (e.g. 10%, 10) |
capostParcelItems | ArrayCanada Post parcel items (reference to the Canada Post parcel item model) |
capostReturnItems | ArrayCanada Post return items (reference to the Canada Post return item model) |
customerAttachments | ArrayCustomer file attachments |
parcelItems | ArrayPitney Bowes order association |
variant | |
item_id | integerPrimary key |
object | |
name | stringItem name |
sku | stringItem SKU |
price | stringItem price |
itemNetPrice | stringItem net price |
discountedSubtotal | stringItem discounted subtotal |
amount | integerItem quantity |
order | |
surcharges | ArrayOrder item surcharges |
attributeValues | ArrayAttribute values |
total | stringTotal |
subtotal | stringSubtotal |