Publish product
The Publish product action makes the product that triggers the workflow available on the selected sales channels.
Triggers
The Publish product action has a hidden field added to it by the trigger. This field, Product ID, identifies the order to cancel. The product ID is set by default and can't be changed.
The Publish product action can be used in workflows that start with the following triggers:
- Product added to store
- Product status updated
- Product variant added
- Inventory quantity changed
- Variant back in stock
- Variant out of stock
- Inventory item created
Example
In this example workflow, products are published when the inventory of that item is greater than ten.
API details
To learn more, review the publishablePublish mutation.