Update Order Detail
PUT /orders/{order_id}
Parameters
Path Parameters
ID of the Order
Header Parameters
E.g. 123
Example
123
Request Body
object
object
Store ID - See Stores Resource
3525
Optional if deliver_to_attributes are included.
Customer’s Shipping Address ID - See Customers Resource
1086864
Delivery Method ID - See Delivery Methods Resource
92298
Expected delivery date, appears in the order interface
02/03/2017
Total discounts price for the overall order
Delivery Address Attributes. Optional if deliver_to_id is included.
object
Address line 1
294 Queenstown Road
Address line 2
Borough
City
London
Company
Fashion Co
Country (ISO-2 code)
GB
Customer’s ID - See Customers Resource
516208
First name
Sky
Last name
Schonhuber
Phone number
07734450718
State
London
ZIP code
S8 4LT
Line 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”
cash
A reference string to refer to that payment
123456789
Notes from customer
object
Text for the note
Ring the doorbell the leave in secure location
Internal 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
200
OK