Pagination
Iterating over multiple pages
Search entities with pagination
POST https://{YOUR_TENANT_NAME}.api.fulfillmenttools.com/api/stocks/search{
"query": {
"tenantArticleId": {
"eq": "4711"
}
}
}
{
"total": 28,
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": false,
"startCursor": "MDBhZjE1NzEtMjg5MC00ZTE0LTg1OTEtOWVjZjEyODYzMjIw",
"endCursor": "YjljYTkwZDMtYWEyMC00MmIyLTlmMmItMDk5ZTIxNWFhZGU0"
},
"stocks": [
{
"created": "2025-11-06T13:11:35.738Z",
"facilityRef": "d083f631-9f4c-463b-85d4-9414fb19239f",
"id": "00af1571-2890-4e14-8591-9ecf12863220",
"lastModified": "2025-11-26T07:54:35.624Z",
"tenantArticleId": "4711",
"value": 100,
"locationRef": "SL-02",
"scannableCodes": [],
"scores": [...],
"tenantStockId": null,
"reserved": 0,
"facilityWideReserved": 0,
"available": 111,
"traits": [
"PICKABLE",
"ACCESSIBLE"
],
"traitConfig": null,
"conditions": null,
"properties": {},
"serializedProperties": "{}",
"receiptDate": "2025-11-16T07:46:16.215Z",
"version": 2,
"customAttributes": null,
"availableUntil": null,
"reservations": [],
"combinedId": "d083f631-9f4c-463b-85d4-9414fb19239f_11111",
"facility": {
"facilityRef": "d083f631-9f4c-463b-85d4-9414fb19239f"
}
},
{
"created": "2025-11-10T13:19:15.624Z",
"facilityRef": "d083f631-9f4c-463b-85d4-9414fb19239f",
"id": "019a6deb-b698-7510-b7a2-ee891d09b1a7",
"lastModified": "2025-11-10T13:19:15.624Z",
"tenantArticleId": "4711",
"value": 10,
"locationRef": "SL-01",
"scannableCodes": [],
"scores": [...],
"tenantStockId": null,
"reserved": 0,
"facilityWideReserved": 0,
"available": 10,
"traits": [
"PICKABLE",
"ACCESSIBLE"
],
"traitConfig": null,
"conditions": null,
"properties": {},
"serializedProperties": "{}",
"receiptDate": "2023-06-16T07:42:54.646Z",
"version": 1,
"customAttributes": null,
"availableUntil": null,
"reservations": [],
"combinedId": "d083f631-9f4c-463b-85d4-9414fb19239f_11111",
"facility": {
"facilityRef": "d083f631-9f4c-463b-85d4-9414fb19239f"
}
},
...
]
}Page iteration
Example workflow
Last updated