DiscountItemsInput input object

Version 2020-10 (Release candidate)

Specifies the items attached to a discount.

Input fields

all (Boolean)

Whether all items should be selected.

collections (DiscountCollectionsInput)

The collections that are attached to a discount.

products (DiscountProductsInput)

The products and product variants that are attached to a discount.

Version 2020-07 (Latest)

Specifies the items attached to a discount.

Input fields

all (Boolean)

Whether all items should be selected.

collections (DiscountCollectionsInput)

The collections that are attached to a discount.

products (DiscountProductsInput)

The products and product variants that are attached to a discount.

Version 2020-04

Specifies the items attached to a discount.

Input fields

all (Boolean)

Whether all items should be selected.

collections (DiscountCollectionsInput)

The collections that are attached to a discount.

products (DiscountProductsInput)

The products and product variants that are attached to a discount.

Version 2020-01

Specifies the items attached to a discount.

Input fields

all (Boolean)

Whether all items should be selected.

collections (DiscountCollectionsInput)

The collections that are attached to a discount.

products (DiscountProductsInput)

The products and product variants that are attached to a discount.

Version 2019-10

Specifies the items attached to a discount.

Input fields

all (Boolean)

Whether all items should be selected.

collections (DiscountCollectionsInput)

The collections that are attached to a discount.

products (DiscountProductsInput)

The products and product variants that are attached to a discount.

Version 2019-07 (Unsupported)

Specifies the items attached to a discount.

Input fields

all (Boolean)

Whether all items should be selected.

collections (DiscountCollectionsInput)

The collections that are attached to a discount.

products (DiscountProductsInput)

The products and product variants that are attached to a discount.

Version 2019-04 (Unsupported)

Specifies the items attached to a discount.

Input fields

all (Boolean)

Whether all items should be selected.

collections (DiscountCollectionsInput)

The collections that are attached to a discount.

products (DiscountProductsInput)

The products and product variants that are attached to a discount.