Skip to content
Guides
OrdersCarts
order:read

List carts

GET/v1/carts

List carts. A successful request returns HTTP 200 with the documented response body.

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Query Parameters

limit?integer

Maximum number of results to return.

Formatint32
cursor?string

Opaque cursor from the previous response. Omit it on the first page.

search?string

Free-text filter. Which fields it covers depends on the resource.

sortBy?string

Field to sort by. Accepted values depend on the resource.

sortDirection?string

Sort direction: asc or desc.

Value in

  • "asc"
  • "desc"
status?array<>

Only items in these statuses.

email?string

Header Parameters

x-Store-Id?string

Store the request acts on. Not needed when the token is bound to a store.

Authorization*string

OAuth 2.0 bearer token.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/carts" \  -H "x-Store-Id: <store-id>" \  -H "Authorization: Bearer <token>"
{  "data": [    {      "id": "7204558912004325301",      "storeId": "7204558912004325301",      "regionId": "7204558912004325301",      "customerId": "7204558912004325301",      "salesChannelId": "7204558912004325301",      "email": "andrea@example.com",      "phone": "+51987654321",      "firstName": "Andrea",      "lastName": "Ramos",      "currencyCode": "PEN",      "status": "inProgress",      "completedAt": "2026-08-01T15:30:00Z",      "abandonedNotifiedOn": "2026-08-01T15:30:00Z",      "itemCount": 1,      "quantity": 1,      "shippingMethodCount": 1,      "totals": {        "items": {          "subtotal": 1,          "discount": 1,          "tax": 1,          "warranty": 1,          "total": 1        },        "shipping": {          "subtotal": 1,          "discount": 1,          "tax": 1,          "total": 1        },        "total": 1      },      "createdOn": "2026-08-01T15:30:00Z",      "updatedOn": "2026-08-01T15:30:00Z"    }  ],  "hasNextPage": false,  "nextCursor": "example",  "totalCount": 1}