Delete product variant

The Delete product variant action deletes the provided product variant.

On this page


The Delete product variant action has a hidden field added to it by the trigger. This field, Variant ID, identifies the variant to delete. The variant ID is set by default and can't be changed.

The Delete product variant action can be used in workflows that have a Get product variant data action, or any triggers that contain a product or a variant, such as:


Example of a workflow that deletes an out of stock product variant

In this example workflow, a product variant is deleted when it has been out of stock for a week.

API details

To learn more, review the productVariantDelete mutation.

Ready to start selling with Shopify?Try it free