Shopify switched their API to "cursor-based pagination" in July of 2019. This eliminated the page
parameter that made it simple and obvious how to get multiple pages of results.
The Python wrapper for the Shopify API actually makes it quite difficult to page through results now. The API responds with next
and previous
URLs via the response headers that can be used to retrieve different pages of results, but the python wrapper actually drops these headers. There is a pull request waiting to be merged that will give access to convenient next
and previous
methods. In the meantime, maybe this will be useful to someone else...
- Shopify private app with API key and password