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

PriceRuleItemPrerequisitesInput input object

Version unstable

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

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