Pagination
Selly offers the ability to paginate any list endpoint. The X-Total-Pages
header returns the total number of pages for the resources at the specific endpoint you're using.
By default, 20
resources are displayed per page.
Optional attributes
- Name
page
- Type
- integer
- Description
The page number. Defaults to 1
- Name
per_page
- Type
- integer
- Description
Records per page. Defaults to 20.
Request
GET
/api/v2/orderscurl -G https://selly.io/api/v2/orders \
-H "Authorization: Bearer {token}" \
-d page=10