List orders
GET/api/v1/stores/{store_id}/orders
The store's orders with lines, one page at a time.
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.
Query parameters
limitinteger- The maximum number of items in the response (1–250, default 100).at least 1 · at most 250 · default 100
cursorstring- next_cursor from the previous response, for the next page. Omit for the first page.
customer_idstring- Only the customer's orders (the store's customer ID).
campaign_idstring- Only orders from the campaign.
financial_statusstring- Only orders with that status.
pendingpaidrefundedcancelled updated_sincestring- Only what has changed since then (ISO 8601).
Response
200 A page of orders.
dataarray<object>requireddata[].idstringrequireddata[].customerobject | nullrequired- null when the customer has been erased: the order still counts towards the campaign's revenue.
data[].customer.idstringrequireddata[].customer.emailstringrequireddata[].campaign_idstring | nullrequireddata[].financial_statusstringrequiredpendingpaidrefundedcancelleddata[].currencystringrequireddata[].order_totalnumberrequireddata[].tax_totalnumber | nullrequireddata[].shipping_totalnumber | nullrequireddata[].discount_totalnumber | nullrequireddata[].processed_atstring (time, ISO 8601)required- When the order was placed.
data[].linesarray<object>requireddata[].lines[].idstringrequireddata[].lines[].product_idstringrequireddata[].lines[].variant_idstring | nullrequireddata[].lines[].titlestring | nullrequireddata[].lines[].quantityintegerrequireddata[].lines[].pricenumberrequireddata[].lines[].discountnumber | nullrequireddata[].created_atstring (time, ISO 8601)required- When the order was first sent in.
data[].updated_atstring (time, ISO 8601)required- When the order was last changed.
has_morebooleanrequired- There are more: fetch the next page with cursor=next_cursor.
next_cursorstring | nullrequired- Send as cursor for the next page. null on the last page.
Errors
- 404
- not_found
- 429
- rate_limited