product update web-hook firing on each sale/order

Solved
Rafay
Tourist
6 0 0
I have registered to Shopify's product web-hook using topic product/update. I am observing a completely different behavior, when ever a product is sold that fire product/update web-hook.
 

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

 

Any help in this regard is appreciated.

Accepted Solution (1)

Accepted Solutions
Josh
Shopify Staff
Shopify Staff
1134 82 213

This is an accepted solution.

Hey there, 

 

I believe it was within the last year that we started to send webhooks when a product is sold, and this behaviour is intentional. If memory serves, it's the inventory of the product being touched that triggers the webhook. 

Josh | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

View solution in original post

Replies 7 (7)
Josh
Shopify Staff
Shopify Staff
1134 82 213

This is an accepted solution.

Hey there, 

 

I believe it was within the last year that we started to send webhooks when a product is sold, and this behaviour is intentional. If memory serves, it's the inventory of the product being touched that triggers the webhook. 

Josh | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

JoshHighland
Shopify Expert
89 2 45

This is an old thread but its still relevant . Has there been any talk internally around a webhook that fires when a product is updated via the admin and not a sale?

something like - product/update_admin

There is a very big difference between and admin adjusting the body / title / images etc., compared to a sale happening.

Robel
New Member
2 0 2

I have the same issue 

MozzoERP
Shopify Partner
71 4 14

Ditto. QuickBooks does this same thing and its annoying and causes a lot of unnecessary overhead. I get Inventory Levels have changed, but that should be a separate webhook just as it is a separate object in the Shopify database.

Chad Richardson
Mozzo Software - Modular Software that grows with you from solopreneur to a 200 person mega team. Why keep outgrowing your Shopify Apps? Start with us, and just use the modules you need, then add more as you grow. http://MozzoERP.com
axelra82
New Member
2 0 5

Is there any fix for this behavior? It really doesn't make any sense. If you want a product hook to fire on product inventory change (which will be every time a product is soled, which hopefully is very often) why not put this is in a specific product_stock_change or something similar?

As it works now the webhooks are unusable. I've set up a SSG fore storefront in Netlify... problem is, every time someone makes a purchase the site rebuilds, eating away att build hours when nothing except stock has changed (which is checked individually anyway).

So I ask again, is there any workaround on this or do we just have to wait until someone on the dev team understands that firing the product update/change hook every time a sale is made probably isn't how most people are expecting it to work and also is easily fixable by simple adding a product stock specific hook for those that want/need that type of behavior.

daniellanger
Shopify Partner
9 0 10
Eaton
New Member
1 0 1

I agree. We already have an inventory hook which is suitable for this. 

Product creation/update/delete hooks are clearly meant for the changes by the admin. If any customer can trigger this update hook then what is even the point of it? It's absolutely unusable.