Publish product

ThePublish productaction makes the product that triggers the workflowavailable on your online store.

On this page

Triggers

ThePublish productaction 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.

ThePublish productaction can be used in workflows that start with the following triggers:

Example

Example of a workflow that publishes a product when inventory is greater than 10

In this example workflow, products are published when the inventory of that item is greater than ten.

API details

To learn more, review theproductPublishmutation.

Ready to start selling with Shopify?

Try it free