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.

Example

Example of a workflow that sends an email when an inventory item is deleted

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.

Ready to start selling with Shopify?

Try it free