We are trying to export about 5000 products to Excel using REST API requests following this instruction: https://shopify.dev/tutorials/make-paginated-requests-to-rest-admin-api
The problem is that when we get the 1340th product (it's the 134th request because we pull 10 products on each), the link in the response header only contains the previous page. Normally each request should contains both the previous and the next pages.
Please point me in the right direction.
Thank you in advance!