List carts
GET/api/v1/stores/{store_id}/carts
The store's open carts, 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.
updated_sincestring- Only what has changed since then (ISO 8601).
Response
200 A page of carts.
dataarray<object>requireddata[].idstringrequireddata[].customerobjectrequireddata[].customer.idstringrequireddata[].customer.emailstringrequireddata[].campaign_idstring | nullrequireddata[].checkout_urlstring | nullrequireddata[].currencystringrequireddata[].order_totalnumberrequireddata[].tax_totalnumber | nullrequireddata[].linesarray<object>requireddata[].lines[].idstringrequireddata[].lines[].product_idstringrequireddata[].lines[].variant_idstring | nullrequireddata[].lines[].titlestring | nullrequireddata[].lines[].quantityintegerrequireddata[].lines[].pricenumberrequireddata[].created_atstring (time, ISO 8601)required- When the cart was first sent in.
data[].updated_atstring (time, ISO 8601)required- When the cart 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