Feature Request: Webhook Variants Deleted/Added

Feature Request: Webhook Variants Deleted/Added

garyrgilbert
Shopify Partner
431 41 181

Hey all,

 

Two webhooks that I think are missing are variants/deleted, variants/added

 

When integrating shopify with erp systems we generally keep all the products in a lookup table where we can match the erp product number with important information about a product variant (product_id, variant_id, inventory_item_id among others). This allows us to save lots of network calls when updating the product inventory, prices etc.  Sometimes however, actually more often than we would like, the customer mistakenly or otherwise deletes a variant, now our variant_id and inventory_item_id are no longer in synch in our DB. Since the product delete webhook is not triggered we need to listen to the product updated webhook, this webhook gets triggered for every minor change to the product, and would also be triggered by our own scripts updating the products from when the erp has changes.  Thats a lot to listen to just to see if a variant has been added or removed, and potentially a huge amount of network traffic for little gain.

 

Therefore it would make a lot of sense to have variant added/deleted webhooks for more granular use. 

 

Cheers and Thanks

Gary 

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Replies 0 (0)