Skip to main content

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
privateAttachmentsArrayOrder items
categoryAddedstringCategory added name
pinCodesArrayPin codes (relation)
capostParcelItemsArrayCanada Post parcel items (reference to the Canada Post parcel item model)
capostReturnItemsArrayCanada Post return items (reference to the Canada Post return item model)
customerAttachmentsArrayCustomer file attachments
item_idintegerPrimary key
object
namestringItem name
skustringItem SKU
pricestringItem price
itemNetPricestringItem net price
discountedSubtotalstringItem discounted subtotal
amountintegerItem quantity
order
surchargesArrayOrder item surcharges
attributeValuesArrayAttribute values
totalstringTotal
subtotalstringSubtotal

Responses

200Success
Response schema:
Success
privateAttachmentsArrayOrder items
categoryAddedstringCategory added name
pinCodesArrayPin codes (relation)
capostParcelItemsArrayCanada Post parcel items (reference to the Canada Post parcel item model)
capostReturnItemsArrayCanada Post return items (reference to the Canada Post return item model)
customerAttachmentsArrayCustomer file attachments
item_idintegerPrimary key
object
namestringItem name
skustringItem SKU
pricestringItem price
itemNetPricestringItem net price
discountedSubtotalstringItem discounted subtotal
amountintegerItem quantity
order
surchargesArrayOrder item surcharges
attributeValuesArrayAttribute values
totalstringTotal
subtotalstringSubtotal