This GraphQL query fetches All Carts
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
query allCarts { carts (skip: 0, limit: 3) { results { ACL createdAt id notes productPointer { id } qty totalAmount updatedAt userPointer { id } } } }
{ "data": { "carts": { "results": [ { "ACL": null, "createdAt": "2018-06-17T12:12:57.031Z", "id": "WGxwOdMW9J", "notes": null, "productPointer": { "id": "kX4PUI95To" }, "qty": 1, "totalAmount": 90, "updatedAt": "2018-06-17T12:14:11.489Z", "userPointer": { "id": "FemXDgAyXZ" } }, { "ACL": null, "createdAt": "2018-07-03T01:01:24.233Z", "id": "jdeOJyHFAs", "notes": null, "productPointer": { "id": "R2shz61OeB" }, "qty": 1, "totalAmount": 99.9, "updatedAt": "2018-07-03T01:01:24.233Z", "userPointer": { "id": "eSmyJdYvam" } }, { "ACL": null, "createdAt": "2018-07-03T00:55:50.325Z", "id": "AEoCNfGvUF", "notes": null, "productPointer": { "id": "kX4PUI95To" }, "qty": 1, "totalAmount": 90, "updatedAt": "2018-07-03T01:01:33.616Z", "userPointer": { "id": "eSmyJdYvam" } } ] } } }