Hide product

The Hide product action makes the product that triggers the workflow unavailable on your online store.

Triggers

The Hide product action has a hidden field added to it by the trigger. This field, Product ID, identifies the to hide. The product ID is set by default and can't be changed.

The Hide product action can be used in workflows that start with the following triggers:

  • Inventory quantity changed
  • Product added to store
  • Product status updated

Example

Example of a workflow that hides a product when inventory is equal to or less than 10

In this example workflow, products are hidden when the inventory of that item is equal to or less than ten.

API details

To learn more, review the productUnpublish mutation.

Ready to start selling with Shopify?

Try it free