Product variant deleted
This page was printed on Jul 27, 2023. For the current version, visit https://help.shopify.com/en/manual/shopify-flow/reference/triggers/product-variant-deleted.
Theproduct variant deletedtrigger starts a workflow when a user in your organization or a third-party appdeletes a variantfrom a product.
Actions
The following actions can be used in workflows that start with theproduct variant 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 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.
API details
Theproduct variant deletedtrigger allows actions to be taken with theProductVariant 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.