Anchor to DiscountItemsInputDiscount
input_objectDiscount Items Input
The input fields for the items attached to a discount. You can specify the discount items by product ID or collection ID.
Anchor to FieldsFields
- all (Boolean)
- collections (DiscountCollectionsInput)
- products (DiscountProductsInput)
- •Boolean
Whether all items should be selected for the discount. Not supported for Buy X get Y discounts.
- Anchor to collectionscollections•Discount
Collections Input The collections that are attached to a discount.
Show input fields
- Anchor to productsproducts•Discount
Products Input The products and product variants that the discount applies to.
Show input fields
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?