Product variant deleted
The product variant deleted trigger starts a workflow when a user in your organization or a third-party app deletes a variant from a product.
The following actions can be used in workflows that start with the product variant deleted trigger.
- Add shop Metafield
- Create redirect URL
- Delete redirect URLs
- Remove shop Metafield
- Send HTTP request
- Send internal email
In this example workflow, an email is sent when a product variant is deleted.
Testing the Product variant deleted trigger
To test a workflow that starts with this trigger, delete a variant from an existing product.
The product variant deleted trigger allows actions to be taken with the ProductVariant Graphql API object.
Deleted objects are not available in the API. The product variant ID is the only detail you can get when a product variant is deleted. Other details are not available.