Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
I'm deploying a store and want to include real time stock availability on the product page. Ideally, when a customer views a product page, an API call is made to the stock management system hosted outside of the Shopify ecosystem. This returns the quantity in an accessible format such as json. The store now updates the availability in the backend with the number available and dis/en-ables the add to cart button. A further check is made when the customer checks out to make sure stock is still available.
I've implemented this scenario countless times on other platforms, but for the life of me I can't find anything in the API documentation for web hooks or calls that can trigger an API call to a 3rd party. I can see hooks for inventory_updates but not views, and flow doesn't appear to have this either.
Can anyone point me to the correct documentation in the app/dev docs, or forum posts.
Thanks.
Our app mesa has a web request trigger that you could access from the frontend that could kick off a workflow to do what you're describing. Not sure there's a way to do this natively exactly.
Hi, dude
Have you resolved this?
if so , could you share it with me i got the same case
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025