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:
- Product added to store
- Product status updated
- Product variant added
- Inventory quantity changed
- Variant back in stock
- Variant out of stock
API details
To learn more, review the productDelete mutation.
Templates
Delete inactive products
Delete products with no inventory that have not been updated in a year. View template