Variants/in_stock and out_of_stock webhooks not coming in

Topic summary

A developer is experiencing issues with Shopify’s variants/in_stock and variants/out_of_stock webhooks not triggering despite successful subscription. They tested by manually adjusting inventory levels in the admin panel (between 0, negative, and positive values) but received no webhook events.

Key Finding:
Another user discovered that the variants/in_stock webhook only triggers when all locations have zero stock before the inventory change occurs.

Open Question:
The second user is seeking a method to trigger the variants/in_stock webhook based on specific locations that fulfill online orders, rather than requiring all locations to be at zero stock.

Status: Unresolved. The discussion remains open with no confirmed solution for either the original triggering issue or the location-specific webhook behavior.

Summarized with AI on October 27. AI used: claude-sonnet-4-5-20250929.

I’m handling some work with shopify webhooks, all my other webhooks seem to come just fine for my store, but for some reason the variants/in_stock webhook or event the variants/out_of_stock webhook for that matter are not coming in. I went into my admin panel inventory and changed a couple of inventories between 0 and negative and positive, but I didn’t have a single event come in. I did verify I have subscribed successfully to them both.
Is there anything I’m missing here?

Hi @SarthakC !

Did you find a solution since then? I noticed that for the variants/in_stock webhook to trigger, every location needs to have a stock of 0 before the change. I am trying to find a way to be able to trigger the variants/in_stock webhook only when one of the locations that can fulfill online orders is in stock.