Anchor to DiscountProductsInputDiscount
input_objectDiscount Products Input
The input fields for adding and removing products and product variants as prerequisites or as eligible items for a discount.
Anchor to FieldsFields
- Anchor to productsToAddproducts•[ID!]
To Add The IDs of the products to add as prerequisites or as eligible items for a discount.
- Anchor to productsToRemoveproducts•[ID!]
To Remove The IDs of the products to remove as prerequisites or as eligible items for a discount.
- Anchor to productVariantsToAddproduct•[ID!]
Variants To Add The IDs of the product variants to add as prerequisites or as eligible items for a discount.
- Anchor to productVariantsToRemoveproduct•[ID!]
Variants To Remove The IDs of the product variants to remove as prerequisites or as eligible items for a discount.
Was this section helpful?
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
The products and product variants that the discount applies to.
Was this section helpful?