Can I get the next and previous product with api?

Solved

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?

SPO - SEO App to research keywords & edit social link preview
BYOB - Build Your Own Bundles
0 Likes
CalD
Shopify Staff
Shopify Staff
128 15 18

This is an accepted solution.

Hey @sillycube,

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

0 Likes