A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I want to Get all products in Postman, but I don't know how to get the page_id. I need this page_id to do pagination.
In my all products query, it only shows me products, not the page_id. I'm using REST API version 2023-04.
Hi @IvanElias ,
REST endpoints support cursor-based pagination.
Cursor-based pagination is a specific type of pagination that uses a cursor to keep track of where the current page of data ends and the next page begins. This cursor can be a timestamp, an ID, or any other unique identifier that can be used to identify a specific point in the dataset.
You can read more and find examples in this developer document on REST Pagination.
Hope that helps!
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog