API introduction
Pagination
On this page
Lists are paged. Ask for a page size and a page number, and follow the links in the answer.
limit and page#
| Parameter | Meaning |
|---|---|
limit | Rows per page, 1 to 100. The default is 25. A number below 1 becomes 1 and a number above 100 becomes 100. per_page works too (it is the original name). |
page | The page number, starting at 1. |
These lists are paged: GET /categories, GET /products, GET /inventory, GET /inventory/movements, GET /orders, GET /customers. The list of sizes of one product (GET /products/{id}/variants) is not paged: it returns every size.
meta and links#
The answer tells you where you are:
{
"data": [
"..."
],
"meta": {
"page": 2,
"per_page": 25,
"total": 61,
"last_page": 3
},
"links": {
"first": "https://yourstore.example.com/api/v1/products?limit=25&page=1",
"last": "https://yourstore.example.com/api/v1/products?limit=25&page=3",
"prev": "https://yourstore.example.com/api/v1/products?limit=25&page=1",
"next": "https://yourstore.example.com/api/v1/products?limit=25&page=3"
}
}totalis how many rows match;last_pageis the number of the last page.linksare full web addresses that keep your other query parameters.prevandnextarenullwhen there is no such page.- To read everything, ask for
limit=100and follownextuntil it isnull.
updated_since#
Use updated_since to ask only for rows that changed at or after a time, for example ?updated_since=2026-11-21T10:00:00Z. The time is ISO 8601 (or just a date). An unreadable time is refused with 422 and a message in error.fields.updated_since.
It works on: GET /categories, GET /products, GET /inventory, GET /orders, GET /customers. Products, orders, categories and contacts use the time they were last changed; the stock list (GET /inventory) uses the time the stock level last changed.
Tip
To keep another system in step, poll with the time of your last successful sync. Because the time is "at or after", the newest row can appear twice: use the id to ignore repeats.