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

PriceRuleItemPrerequisitesInput input object

Version 2021-01 (Release candidate)

Specifies the input fields to update a price rule's item prerequisites.

Input fields

collectionIds ([ID!])

The collections needed for the price rule to be applied.

productIds ([ID!])

The products needed for the price rule to be applied.

productVariantIds ([ID!])

The product variants needed for the price rule to be applied.

Version 2020-10 (Latest)

Specifies the input fields to update a price rule's item prerequisites.

Input fields

collectionIds ([ID!])

The collections needed for the price rule to be applied.

productIds ([ID!])

The products needed for the price rule to be applied.

productVariantIds ([ID!])

The product variants needed for the price rule to be applied.

Version 2020-07

Specifies the input fields to update a price rule's item prerequisites.

Input fields

collectionIds ([ID!])

The collections needed for the price rule to be applied.

productIds ([ID!])

The products needed for the price rule to be applied.

productVariantIds ([ID!])

The product variants needed for the price rule to be applied.

Version 2020-04

Specifies the input fields to update a price rule's item prerequisites.

Input fields

collectionIds ([ID!])

The collections needed for the price rule to be applied.

productIds ([ID!])

The products needed for the price rule to be applied.

productVariantIds ([ID!])

The product variants needed for the price rule to be applied.

Version 2020-01

Specifies the input fields to update a price rule's item prerequisites.

Input fields

collectionIds ([ID!])

The collections needed for the price rule to be applied.

productIds ([ID!])

The products needed for the price rule to be applied.

productVariantIds ([ID!])

The product variants needed for the price rule to be applied.

Version 2019-10 (Unsupported)

Specifies the input fields to update a price rule's item prerequisites.

Input fields

collectionIds ([ID!])

The collections needed for the price rule to be applied.

productIds ([ID!])

The products needed for the price rule to be applied.

productVariantIds ([ID!])

The product variants needed for the price rule to be applied.

Version 2019-07 (Unsupported)

Specifies the input fields to update a price rule's item prerequisites.

Input fields

collectionIds ([ID!])

The collections needed for the price rule to be applied.

productIds ([ID!])

The products needed for the price rule to be applied.

productVariantIds ([ID!])

The product variants needed for the price rule to be applied.

Version 2019-04 (Unsupported)

Specifies the input fields to update a price rule's item prerequisites.

Input fields

collectionIds ([ID!])

The collections needed for the price rule to be applied.

productIds ([ID!])

The products needed for the price rule to be applied.

productVariantIds ([ID!])

The product variants needed for the price rule to be applied.