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