Restore inventory on order delete webhook

Hello, when an order is deleted and the inventory is restored does shopify send a product update webhook?

No, Shopify does not typically send a products/update webhook when an order is deleted and the associated inventory is restored.

Webhook Behavior Explained

Shopify’s webhook system is designed to notify external applications about specific events.

  • Order Deletion: When an order is deleted, Shopify will send an orders/delete webhook.

  • Inventory Restoration: The core event here is the inventory level changing. This action triggers a inventory_levels/update webhook.

The products/update webhook is specifically for changes made to the product details itself (like the title, description, or image). Inventory restoration is a change to the inventory level, which is tracked separately from the main product details, hence why the inventory_levels/update webhook is used instead.

I tried and when the inventory is restored from an order delete the products/update webhook is used too.