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
- •Boolean
Whether all items should be selected.
- Anchor to collectionscollections•Discount
Collections Input The collections that are attached to a discount.
- Anchor to productsproducts•Discount
Products Input 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?