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 was 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.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Paginated orders problem | 0 | 62 | February 3, 2022 | |
| Paginate the 2019-07 REST Product API | 21 | 165 | June 26, 2020 | |
| API Products Retrieve a list of products "page" parameter don´t exist | 1 | 38 | June 26, 2023 | |
| Pagination with shopify request | 2 | 64 | February 15, 2024 | |
| Pagination Graph API | 0 | 15 | May 14, 2024 |