question

rachit avatar image
rachit asked David Marginian Deactivated commented

Inventory limit in api

I am using 'https://api.clover.com/v3/merchants/{mid}/items?access_token={token}&limit=1000' api for get inventory data. But we have around 3000 items in our clover account. How can we get all inventory item by api? Can we use limit or something other ?

Inventory
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 David Marginian Deactivated commented
2 comments
10 |2000

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

rachit avatar image rachit commented ·
Offset is not working fine. When i am giving offset value any , it is returning same itmes.


0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ rachit commented ·

What is the request you are making? In order to paginate you are going to need to sort the data - https://docs.clover.com/docs/sorting-collections.


0 Likes 0 ·

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