inventory_items/delete webhook return item SKU not productID

New Member
1 0 0



We are busy building a private app which updates the status of item in the marketplace if it is deleted or made inactive in Shopify. The item delete webhook returns the product ID not the SKU.


Is there a workaround so we can return the SKU not the product id to the app?



Shopify Staff
Shopify Staff
67 7 9

Hey @shauno123,


All delete webhooks contain just the id of the asset that was deleted, so I can't think of a workaround that would include the SKU as well. 


Can you explain how you plan to use the SKU from this webhook? Your app should already be aware of the relation between inventory_item_id and SKU, and the inventory_item/delete webhook will only fire if a particular variant is deleted. If that SKU is used again in a different variant you will get that in the create or update webhook, so I'm not sure how the SKU would be useful in the delete webhook. Please let me know if I'm missing something here and I'd be happy to explore this further.

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution