question

swg1cor14 avatar image
swg1cor14 asked David Marginian Deactivated answered

Help with Pagination

ok so if I wanted to query all products in inventory, I know the default is 100 records returned and hard top limit of 1000. So if its more than 1000 items, then I would need to utilize the offset attribute. But the question is, how can I find out how many products there are so I know if I need to paginate and how far?

REST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered

You will make requests until the number of records returned is less than your limit. There is some more information regarding pagination here - https://docs.clover.com/docs/paginating-elements.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community