API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

DiscountItemsInput input object

Version 2021-01 (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-10 (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-07

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 (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-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.