Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Pagination Graph API

Pagination Graph API

prateeks885
Shopify Partner
3 0 1

Hi, 

 

I am facing the pagination issue in postman for fetching all customers and orders. Using the count CURL - I have got the count for my customers and orders. Now I want to fetch the customers using pagination so how do I find the value forpage_info.

 

Here's approach which I am following;

 

Step 1 - Get count - https://store.myshopify.com/admin/api/2024-04/orders/count.json?status=any

Step 2 -  Get 1st 200 orders - https://store.myshopify.com/admin/api/2023-10/orders.json?limit=200

Step 3 - /admin/api/2021-10/orders.json?page_info={VALUE}&limit={<250} - now how I find / get the value for page_info

 

Kindly do let me know how can I run the same in Postman.

Replies 0 (0)