total
field in the response indicates the number of results found for the search query, capped at 10,000 results.
For queries that exceed this limit
, use an offset
. Querying many carts through this endpoint isn’t recommended, as it’s intended for basic use cases to retrieve a limited number of carts rather than for analytics purposes.
The following code sample provides the structure of limit
, offset
, and total
in the response when searching for a cart:
Click to expand the JSON example.
Click to expand the curl example.
customerId
customerId
in the request body as in the following example:
Click to expand the curl example.
customerId
and promotionTitles
customerId
and promotionTitles` in the request body as in the following example:
Click to expand the curl example.