Ad

Shopify Product/update Webhook Firing On Inventory Change

- 1 answer

I have registered to shopify's product webhook using topic product/update. As per answer of a shopify staff memeber here:

https://community.shopify.com/c/Shopify-APIs-SDKs/Does-the-product-update-webhook-let-me-know-if-an-item-has-been/m-p/500638/highlight/true#M32428

product/update webhook should not fire when there is a change in inventory level, but i am observing a completely different behavior, when ever a product is sold that fire product/update webhook.

Has anyone else experienced same issue? or i am doing something wrong?

Ad

Answer

It could be as simple as in that shop, when a product sells, another App you have no idea about, changes the product for some reason. Plenty of Apps could do that. And when they do change the produc another App you have no idea about, changes the product for some reason. Plenty of Apps could do that. And when they do change the product, it is updated, and you get a webhook for product/update, triggered by a sale.

Of course, you can also dream up other scenarios where things change.

Following is an answer by shopify staff member:

https://community.shopify.com/c/Shopify-APIs-SDKs/Does-the-product-update-webhook-let-me-know-if-an-item-has-been/m-p/518566/highlight/true#M33787

Hope it helps.

Ad
source: stackoverflow.com
Ad