Skip to navigation

Edit Order

This call edits an existing order

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

access_tokenstringOptional
Access Token
order_idintegerOptional
Order ID
tracking_nostringOptional

Tracking Number (alternative to order_id)

reference_idstringOptional
Reference ID
customer_namestringOptional
Customer Name
customer_phonestringOptional
Customer Phone
customer_addressstringOptional
Customer Address
customer_address_latdoubleOptional
Customer Latitude
customer_address_londoubleOptional
Customer Longitude
pickup_latitudedoubleOptional
Pickup Latitude
pickup_longitudedoubleOptional
Pickup Longitude
receiver_namestringOptional
Receiver Name
receiver_phonestringOptional
Receiver Phone
receiver_addressstringOptional
Receiver Address
receiver_latitudedoubleOptional
Receiver Latitude
receiver_longitudedoubleOptional
Receiver Longitude
coddoubleOptional
Cash on Delivery Amount
descriptionstringOptional
Order Description
deliver_onstringOptional

Delivery Date (Format: YYYY-MM-DD)

product_itemsstringOptional

Product Items in JSON format. Required format: [{“externalProductCode”:“xxx”,“qty”:2,“unitPrice”:10,“weight”:1.5}] or [{“product_name”:“xxx”,“qty”:2,“product_base_price”:10,“product_tax”:5,“weight”:1.5,“category_name”:“Category”,“brand_name”:“Brand”,“product_sku”:“SKU123”}]

Response

Returns the updated order