Hi everyone,
I’m experiencing an issue with webhooks not being triggered in my Shopify app.
When I change the inventory of a variant (either restocking or setting it to zero), the webhooks VARIANTS_OUT_OF_STOCK
and VARIANTS_IN_STOCK
are not triggered.
Here’s what I’ve confirmed:
- The
PRODUCTS_UPDATE
webhook is successfully received when I update the variant. - I’m using Webhook version 2025-04 and API version 2025-04.
- Continue selling when out of stock is disabled.
- I’m updating inventory directly on the variant (tried both manually adding inventory and selling out through the online store).
- Webhook is successfully registered:
{
id: 1326852505665,
address: '***/webhooks/variants/out-of-stock',
topic: 'variants/out_of_stock',
created_at: '2025-05-05T07:49:44-04:00',
updated_at: '2025-05-05T07:49:44-04:00',
format: 'json',
fields: [],
metafield_namespaces: [],
api_version: '2025-04',
private_metafield_namespaces: [],
metafield_identifiers: []
},
{
id: 1326852538433,
address: '***/webhooks/variants/in-stock',
topic: 'variants/in_stock',
created_at: '2025-05-05T07:49:45-04:00',
updated_at: '2025-05-05T07:49:45-04:00',
format: 'json',
fields: [],
metafield_namespaces: [],
api_version: '2025-04',
private_metafield_namespaces: [],
metafield_identifiers: []
}
Does anyone have an idea why the VARIANTS_OUT_OF_STOCK
or VARIANTS_IN_STOCK
webhooks aren’t firing? Could I be missing something?
Thanks in advance!