DiscountItemsInput input object

Version 2020-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 2019-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 2019-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 2019-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.

Sign up for a Partner account to get started.

Sign up