Skip to main content
Anchor to DiscountProductsInput

DiscountProductsInput

input_object

The input fields for adding and removing products and product variants as prerequisites or as eligible items for a discount.

•[ID!]

The IDs of the products to add as prerequisites or as eligible items for a discount.

•[ID!]

The IDs of the products to remove as prerequisites or as eligible items for a discount.

Anchor to productVariantsToAddproductVariantsToAdd
•[ID!]

The IDs of the product variants to add as prerequisites or as eligible items for a discount.

Anchor to productVariantsToRemoveproductVariantsToRemove
•[ID!]

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 input fields for the items attached to a discount. You can specify the discount items by product ID or collection ID.


Was this section helpful?