The Hide product action makes the product that triggers the workflow unavailable on your online store.
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
In this example workflow, products are hidden when the inventory of that item is equal to or less than ten.
To learn more, review the productUnpublish mutation.