Returns a paginated list of Cart objects matching the provided filter criteria.
Cart
createdAt
CartsConnection
{ "filter": { "createdBefore" : "2025-06-20T21:24:00.000Z", "createdAfter" : "2025-05-10T21:24:00.000Z" }, "pagination": { "first": 2 } }
query CartsByQuery($pagination: CursorPaginationInput!, $filter: CartsFilterInput!) { cartsByQuery(pagination: $pagination, filter: $filter) { edges { cursor node { cart { id createdAt buyerIdentity { firstName } stores { ... on AmazonStore { isSubmitted } } } } }, pageInfo { hasNextPage hasPreviousPage startCursor endCursor } } }
{ "data": { "cartsByQuery": { "edges": [ { "cursor": "1hbiiW6YWUioHklegdRq", "node": { "cart": { "id": "1hbiiW6YWUioHklegdRq", "createdAt": "2025-06-26T20:18:52.671Z", "buyerIdentity": { "firstName": "Eric" }, "stores": [ { "isSubmitted": false } ] } } } ], "pageInfo": { "hasNextPage": false, "hasPreviousPage": true, "startCursor": "1hbiiW6YWUioHklegdRq", "endCursor": "1hbiiW6YWUioHklegdRq" } } }, "extensions": { "cost": { "queryCost": 16, "queryCostLimit": 750 } } }
getCart(id: ID!)
Was this page helpful?