Skip to main content
input_object

The input fields for the items attached to a discount. You can specify the discount items by product ID or collection ID.

•Boolean

Whether all items should be selected.

•DiscountCollectionsInput

The collections that are attached to a discount.

•DiscountProductsInput

The products and product variants that the discount applies to.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

The IDs of items that the customer buys. The items can be either collections or products.

•INPUT OBJECT

The IDs of the items that the customer gets. The items can be either collections or products.


Was this section helpful?