Update order item by id
Update order item by id
Authorizations:Token
Query Parameters
id required | integerId value of the OrderItem object |
Request Body Schema:
OrderItem object that needs to be added privateAttachments | ArrayOrder items |
categoryAdded | stringCategory added name |
pinCodes | ArrayPin codes (relation) |
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 |
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) |
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 |
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 |