Inventory item deleted
This page was printed on Jun 27, 2023. For the current version, visit https://help.shopify.com/en/manual/shopify-flow/reference/triggers/inventory-item-deleted.
TheInventory item deletedtrigger starts a workflow when an inventory item attached to a product variant is deleted.
Actions
The following actions can be used in workflows that start with theInventory item deletedtrigger.
- Create redirect URL
- Delete redirect URLs
- Remove shop metafield
- Send HTTP request
- Send internal email
- Update shop metafield
- Wait
Example
In this example workflow, an email is sent when an inventory item is deleted.
Testing the Inventory item deleted trigger
To test a workflow that starts with this trigger,delete a variant from an existing product.
API details
TheInventory item deletedtrigger allows actions to be taken with theInventoryItem Graphql API object.
Deleted objects are not available in the API. The inventory item ID is the only detail you can get when an inventory item is deleted. Other details are not available.