Implementing page numbering (Prev | 1 | 2 | 3 | ... Next) on Rest/GraphQL Pagination

Implementing page numbering (Prev | 1 | 2 | 3 | ... Next) on Rest/GraphQL Pagination

misteryur123
Shopify Partner
1 0 0

how do I implement page numbering on Shopify Rest/GraphQL API Pagination?
like (Prev | 1 | 2 | 3 | ... Next) buttons

Reply 1 (1)

BSSCommerce-B2B
Shopify Expert
553 110 133

With REST and GraphQL API, the next page depends on the previous, so I think it's impossible to implement numbered pagination. (Prev | Next) pagination is enough for most cases.

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


B2B Solution & Custom Pricing |BSS: B2B Portal, Quote, Net 30 | BSS: B2B Login Lock Hide Price


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency