question

min avatar image
min asked orthis edited

How to synchronize clover inventory data to 3rd-party websites/web apps

Hi,

I am currently maintaining a website to manage store inventory data. And since one of my local store using this clover station (https://www.clover.com/ca/station-duo). I would like to have the clover inventory data synchronize to my own website. For example, once customer placed a order from colver station in my local store, the product inventory amount will be updated both in clover inventory app and my website.

I know I can set up api inside clover dashboard, but placing order and updating inventory are more like callback events. I cound't have my front-end to send request all the time and fetch inventory data. I think webhooks would be the best solution. So my question is how to synchroinze inventory between two websites (from clover dashboard > inventory to my own website). If so, what is the best solution?

I have read through webhooks documentation (https://docs.clover.com/docs/webhooks). But I don't understand the prerequisites steps that asked me to installed test app. I don't find any place to install webhooks in real clover dashboard

InventoryWebhooks
10 |2000

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

bryanvargas avatar image
bryanvargas answered

You can generate a merchant token from your dashboard and use the private token as the bearer token to make the GET inventory endopint.

https://clover.com/en-US/help/take-payments-on-your-website-with-clover

https://docs.clover.com/reference/inventorygetitems

10 |2000

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

orthis avatar image
orthis answered orthis edited

@basket random Webhooks cannot be installed directly from the Clover dashboard. They are deployed and configured through the Clover API and your own application's backend.

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