Request for our store

Jenny110
Visitor
2 0 0

hello can u tell me step by step how to create an API at our shopify store?

(its actually sometyhing related to webhook)

actually we want to relate our website with another one, so in case we updated our stock it will be automatically updated to the other website. that's why we we want to create an api to our store

 

 pls reply to me on this email: contact@gemymaalouf.com

Replies 2 (2)

james-langille
Shopify Staff (Retired)
70 15 27

Hello @Jenny110 ,

I'm not sure I understand your question - you're wondering how to use webhooks to keep 2 different stores' inventories in sync?

Webhooks are a way to subscribe to events (such as when inventory levels change) that take place on a store to an external application of some kind. So you could host an application somewhere to manage this bridge, but I'm a bit confused why you would even want to double-count inventory like this across multiple stores.

To learn more visit the Shopify Help Center or the Community Blog.

Jenny110
Visitor
2 0 0

Hi James,

True it's about keeping the inventory in sync!

It's not gonna be across multiple stores, it will be related only to one website that has some of our SKUs in their store too.

So this process couldn't be achieved only inside shopify, we should add external application or plugin?