Get order
GET/api/v1/stores/{store_id}/orders/{order_id}
An order with lines.
Scope
ecommerce:readRead e-commerce – the person behind the key must be all members.
Path parameters
store_idstringrequired- The store's ID, which you choose.
order_idstringrequired- The order's ID in your shop.
Response
200 The order.
idstringrequiredcustomerobject | nullrequired- null when the customer has been erased: the order still counts towards the campaign's revenue.
customer.idstringrequiredcustomer.emailstringrequiredcampaign_idstring | nullrequiredfinancial_statusstringrequiredpendingpaidrefundedcancelledcurrencystringrequiredorder_totalnumberrequiredtax_totalnumber | nullrequiredshipping_totalnumber | nullrequireddiscount_totalnumber | nullrequiredprocessed_atstring (time, ISO 8601)required- When the order was placed.
linesarray<object>requiredlines[].idstringrequiredlines[].product_idstringrequiredlines[].variant_idstring | nullrequiredlines[].titlestring | nullrequiredlines[].quantityintegerrequiredlines[].pricenumberrequiredlines[].discountnumber | nullrequiredcreated_atstring (time, ISO 8601)required- When the order was first sent in.
updated_atstring (time, ISO 8601)required- When the order was last changed.
Errors
- 404
- not_found
- 429
- rate_limited