question

Ivan Garcia avatar image
Ivan Garcia asked ·

Rest V3 API - Get All inventory Items error in the API

Hello,

We are trying to get all inventory items from a merchant calling the:

https://api.clover.com/v3/merchants/{...

But not all items on the inventory are being returned in the call. Is there any restriction for the API? Do I need to change anything in the setup from the merchant?

I've tried in our test merchant in our developer account and in a liver merchant using Clover with the same results, more than a half of the items in the inventory are not returned via the API.

I've checked in the web access, inventory, items, category view, modify a category, and only the items in the last row are being returned via the API.

Inventory
1 comment
10 |2000 characters needed characters left characters exceeded

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

I've checked the API v2 and it is returning all the items.

0 Likes 0 · ·

1 Answer

Jim Patel avatar image
Jim Patel answered ·

According to the pagination section of the REST API documentation, the default limit is 100 items, with the hard limit being 1000 items, returned by any one call. You might be hitting the limit and need to use the limit and offset tags in order to get all of the items.

Share
10 |2000 characters needed characters left characters exceeded

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