Update Order Detail
PUT /orders/{order_id}
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”ID of the Order
Header Parameters
Section titled “Header Parameters ”E.g. 123
Example
123Request Body
Section titled “Request Body ”object
object
Store ID - See Stores Resource
3525Optional if deliver_to_attributes are included.
Customer’s Shipping Address ID - See Customers Resource
1086864Delivery Method ID - See Delivery Methods Resource
92298Expected delivery date, appears in the order interface
02/03/2017Total discounts price for the overall order
Delivery Address Attributes. Optional if deliver_to_id is included.
object
Address line 1
294 Queenstown RoadAddress line 2
BoroughCity
LondonCompany
Fashion CoCountry (ISO-2 code)
GBCustomer’s ID - See Customers Resource
516208First name
SkyLast name
SchonhuberPhone number
07734450718State
LondonZIP code
S8 4LTLine item attributes for the line items of the order
Payment attributes, if the order has a payment
object
Type of payment - required if payment_attributes are included.
List of accepted payment types (variable_name: Display Name)
-
none: “None”
-
cash: “Cash”
-
credit_card: “Credit Card”
-
bank_transfer: “Bank Transfer”
-
paypal: “Paypal”
-
paypal_express: “Paypal Express”
-
sagepay: “Sagepay”
-
checkmo: “Check/Money order”
-
online_finance: “Online Finance”
cashA reference string to refer to that payment
123456789Notes from customer
object
Text for the note
Ring the doorbell the leave in secure locationInternal notes from employees
Examples
{ "order": { "line_items_attributes": [ { "sellable_id": 11022902, "quantity": 1, "additional_options": "www.veeqo.com" } ] }}{ "order": { "line_items_attributes": [ { "sellable_id": 11022902 }, { "sellable_id": 11022899, "price_per_unit": 1.1, "quantity": 99, "tax_rate": 0.01, "additional_options": "99 bottles sitting on the wall" } ] }}{ "order": { "customer_note_attributes": { "text": "To Phil\n\n Have a great week ?!\n\n From Phil" } }}Responses
Section titled “ Responses ”OK