Pagination
{
"status": 200,
"success": true,
"data": [
...
],
"pagination": {
"count": 2,
"total": 2,
"perPage": 15,
"currentPage": 1,
"totalPages": 1,
"links": {}
}
}
index
listing may return an array of results.count
parameter may be used to increase the number of results per request.page
request parameter corresponding to the currentPage
and totalPages
property received in the last call on the pagination
part of the response. For instance, if you want to move to the next pagse in the List Orders endpoint, simply execute the following cURL request:curl --request GET \
--url 'https://api.salla.dev/admin/v2/orders?page=2' \
--header 'Accept: application/json' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>'
Modified at 2025-03-04 12:54:02