Inventory item deleted

The Inventory item deleted trigger 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 the Inventory item deleted trigger:

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

The Inventory item deleted trigger allows actions to be taken with the InventoryItem Graphql API object.

Deleted objects aren't available in the API. The inventory item ID is the only detail you can get when an inventory item is deleted. Other details aren't available.

Can’t find the answers you’re looking for? We’re here to help.