Solved

Can I get the next and previous product with api?

jam_chan
Shopify Partner
906 23 177

Just like the Shopify portal, I can click the next and previous button to visit the corresponding product. Is it possible in the api? How can I do so?

BYOB - Build Your Own Bundles, SPO - SEO App to research keywords & edit social link preview
Accepted Solution (1)

CalD
Shopify Staff
140 22 36

This is an accepted solution.

Hey @jam_chan,

Check out cursor-based pagination:

CalD | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me 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

View solution in original post

Reply 1 (1)

CalD
Shopify Staff
140 22 36

This is an accepted solution.

Hey @jam_chan,

Check out cursor-based pagination:

CalD | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me 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