Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Bulk cost update via CSV not firing webhooks

Bulk cost update via CSV not firing webhooks

Delirious_Apps
Tourist
7 0 9

I have set up webhooks to listen for product updates in my dev environment they all fire when I update the cost per item in Shopify.

However if I use the bulk CSV import no webhooks appear to be fired? Why is that?

 

Thanks,

Ryan 

Replies 2 (2)

Josh
Shopify Staff
1134 84 235

Hey Ryan, 

This may actually be intentional, at the very least I can see how it would happen - product cost is an inventory item concern and not product, so inventory_item webhooks may be required to keep up with these particular updates.

With the above being said, however, I'll be sure to check with our developers here to get you a more definite answer, because I know updating the cost from the product page still does fire the webhook. I'll post back in here with more information once I'm able!

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

Josh
Shopify Staff
1134 84 235

To those reading this in the future, the above is true - updating the cost of an item via CSV requires listening for inventory_items/update webhooks. 

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