Paginate the 2019-07 Products Api with PHP

Highlighted
Shopify Partner
6 0 0

Hello,

 

Any body help me how can i get the products of 1,2,3 pages etc. New api not supporting the page attribute, so which variable i can use to paginate the products.

 

Here Code:

$response = $client->request(
'GET', 
[
'query' => [
'page_info' => '',
'fields' => 'id,title',
 'limit' => 250,
'access_token' => $access_token
]
]
); 
 
With this code, i am only getting first page products in response. How i can get next products?
 
 
Thanks
0 Likes

Hello 

Please refer below link:

https://help.shopify.com/en/api/guides/paginated-rest-results

Want to modify or custom changes on store hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Content Writer | Digital Marketing | SEO Expert | Site Optimization | Web Design | Web Development
0 Likes