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 for the discount. Not supported for Buy X get Y discounts.

•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 input fields for prerequisite items and quantity for the discount.

•INPUT OBJECT

Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.


Was this section helpful?