question

nirav avatar image
nirav asked ikaols answered

Auto Sync Inventory using REST API

I am trying to build a Inventory Tracker Web App using REST API for a merchant who has 3 stores. I want to send him an email when the stock of item goes below a threshold value that he has defined in my App for that I am planning to sync inventory with my web app 3 times a day.

I want this operation to be automatic. But because of OAUTH 2.0, everytime I want to sync, the merchant will have to go to each store and click on my app and than only inventory API can be called by my app and sync can be completed.

Is it possible to fetch the inventory automatic at regular intervals without the merchant needing to click the app manually?

I will really appreciate the help.

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.

David Marginian avatar image
David Marginian Deactivated answered

You can securely store the token, alternatively you can utilize web hooks instead of polling three times a day.

10 |2000

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

ikaols avatar image
ikaols answered

An invisible service or daemon can be programmed to retrieve inventory data at predetermined intervals geometry dash

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