Paginated orders problem

Paginated orders problem

manou_mhd
Tourist
4 0 1

I'm currently using the PHP Shopify-API package to communicate with Shopify Admin Rest API, when I use it to get orders, products or customers from a specified date for example updated_at_min="2021-01-01T00:00:00+00:00", I get the page_info used to retrieve the results of the next page, but this token is the same from the fourth page which is causing an infinite loop, so I've added a logic in order to avoid it (I'm saving all the tokens returned and check that the new token doesn't exist in the list), but now the API retrieves a maximum of 550 orders/customers and products.

 
Replies 0 (0)