Pagination
How list endpoints page their results
Every list endpoint takes two query parameters and returns a pagination block.
| Parameter | Meaning |
|---|---|
page | Which page to return, starting at 1 |
limit | How many records per page. The default is 5 or 10, depending on the endpoint. Where a maximum is stated, it is 100 |
"pagination": {
"total": 10,
"pages": 2,
"currentPage": 1,
"limit": 5,
"hasNext": true,
"hasPrev": false
}Keep requesting the next page while hasNext is true.
Each endpoint's page in the API Reference shows its own default and maximum. Where an endpoint offers filters, such as status, order type or a date range, filter on the server instead of paging through everything.
Updated about 15 hours ago
Did this page help you?