Paginated results

Hey @manou_mhd ,

After a few requests to my test environment and emulating similar filters to those you used, I was able to paginate through several pages with everything working as expected per our documentation.

You mentioned that you aren’t including a limit parameter in the first request, which might be good preliminary troubleshooting. In the case that a larger volume of data is expected, starting with a count on the resource (orders) should give an idea of how many pages of orders need to be paginated through.

Shopify REST Pagination uses the link header returned, appending page_info=[VALUE] and limit={<250} parameters. This allows navigation through the resource until there is no longer data to return, at which point a link to the previous page will be returned with the final page.

EG. first request /admin/api/2021-10/orders.json?{filters}&status=any?limit={<250}, second request /admin/api/2021-10/orders.json?page_info={VALUE}&limit={<250}, etc.

Locating request logs for the example IDs shared, I noticed that none of the endpoint URLs include a cursor? Based on this and info above, taking a look back through the documentation should help clarify formatting and process.

If you still feel something isn’t working, share any additional example URLs and we can have a look again to provide next steps.

Cheers!