I'm developing an app that needs to import all products and orders from stores. I have a user who has about 4000 products in their store, but when I call via the /admin/products.json URL only 48 are returned. The limit property on the request has a default of 50, so confusing that 2 are missing, and a maximum of 250. How do I get all 4000? Is it possible in one request? Or do I need to do several - in which case, for the subsequent requests how do I know where to start from?
Thanks for your help!
You would need to make 16 requests to the api in order to get all products. (4000 / 250 = 16)
You can use
Then just change the page number in a loop for example.
Hope that helps with your problem.
Hi, I am facing the same problem. I can`t load more than 250 rows.
The requests for product don't work like this. It works for orders like this but not for the product. Have you made a workaround on it?
Perhaps this link will help for those looking to use paginated requests: