DiscountCollectionsInput input object

Version 2020-01 (Release candidate)

Specifies the collections attached to a discount.

Input fields

add ([ID!])

Specifies list of collection ids to add.

remove ([ID!])

Specifies list of collection ids to remove.

Version 2019-10 (Latest)

Specifies the collections attached to a discount.

Input fields

add ([ID!])

Specifies list of collection ids to add.

remove ([ID!])

Specifies list of collection ids to remove.

Version 2019-07

Specifies the collections attached to a discount.

Input fields

add ([ID!])

Specifies list of collection ids to add.

remove ([ID!])

Specifies list of collection ids to remove.

Version 2019-04

Specifies the collections attached to a discount.

Input fields

collectionIds ([ID!])

Specifies list of collection ids. This argument is deprecated: Use add and remove instead.

Sign up for a Partner account to get started.

Sign up