Delete product

The Delete product action removes a product from your store, including all associated variants and media.

On this page

Fields

The Delete product action doesn't require any additional fields.

Triggers

The Delete product action has a hidden field added to it by the trigger. This field, Product ID, identifies the product to delete. The product ID is set from a trigger and cannot be changed.

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

Example

Example of a workflow that deletes a product when a specific condition is met

In this example workflow, a product is deleted when the product has a tag equal to delete.

API details

To learn more, review the productDelete mutation.

Ready to start selling with Shopify?Try it free