question

eingfilip avatar image
eingfilip asked bryanvargas answered

Inventory Syncing

On Webhook we get all item ids from inventory that are UPDATED/CREATED/DELETED on Clover,

Is it possible to fetch multiple items with one request by their IDs?

If we can't fetch multiple items by their IDs then if we get on Webhook 10 IDs we will have to do 10 request to fetch each item that is updated/created/deleted. If there is no request that fetches multiple items y their IDS Is there any other way of doing this?

semi-integrationsInventory
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

·
bryanvargas avatar image
bryanvargas answered

You can use the Get All Inventory Items endpoint and filter by the modifiedTime:

{ {baseUrl}}/v3/merchants/{ {mId}}/items?filter=modifiedTime>{millisecondsSinceEpoch}

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