How to correctly retrieve Shopify inventory levels

How to correctly retrieve Shopify inventory levels

Keemtaker
Shopify Partner
6 0 0

I am trying to build a flow (in a web app) where Shopify shop admins can get notified when the inventory levels for a particular product is below a certain threshold in a particular location. I have looked at the inventory_levels/update webhook but I am in a pickle after reading this.

According to the documentation, the true inventory levels for a location will only be known after the order has been fulfilled. In that case, do I have to subscribe to the orders/fulfilled and order/partially_fulfilled webhooks as well ?

What is the best way to go about it ?

Replies 0 (0)