API reference
List carts
GET
/v1/cartsAuthorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Query Parameters
limit?integer
Maximum number of results to return.
Format
int32cursor?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<>
email?string
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"{ "data": [ { "id": "string", "storeId": "string", "regionId": null, "customerId": null, "salesChannelId": null, "email": null, "phone": null, "firstName": null, "lastName": null, "currencyCode": "string", "status": "inProgress", "completedAt": null, "itemCount": 0, "quantity": 0, "shippingMethodCount": 0, "totals": { "items": { "subtotal": 0.1, "discount": 0.1, "tax": 0.1, "warranty": 0.1, "total": 0.1 }, "shipping": { "subtotal": 0.1, "discount": 0.1, "tax": 0.1, "total": 0.1 }, "total": 0.1 }, "createdOn": "2019-08-24T14:15:22Z", "updatedOn": null } ], "hasNextPage": true, "nextCursor": null, "totalCount": null}