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

PriceRuleItemEntitlementsInput input object

Version unstable

Specifies the input fields to update a price rule line item entitlement.

Input fields

  • collectionIds ([ID!])

    The collections to which the price rule applies.

  • productIds ([ID!])

    The products to which the price rule applies.

  • productVariantIds ([ID!])

    The product variants to which the price rule applies.

  • targetAllLineItems (Boolean)

    Whether the price rule applies to all items.

Version 2021-04 (Release candidate)

Specifies the input fields to update a price rule line item entitlement.

Input fields

  • collectionIds ([ID!])

    The collections to which the price rule applies.

  • productIds ([ID!])

    The products to which the price rule applies.

  • productVariantIds ([ID!])

    The product variants to which the price rule applies.

  • targetAllLineItems (Boolean)

    Whether the price rule applies to all items.

Version 2021-01 (Latest)

Specifies the input fields to update a price rule line item entitlement.

Input fields

  • collectionIds ([ID!])

    The collections to which the price rule applies.

  • productIds ([ID!])

    The products to which the price rule applies.

  • productVariantIds ([ID!])

    The product variants to which the price rule applies.

  • targetAllLineItems (Boolean)

    Whether the price rule applies to all items.

Version 2020-10

Specifies the input fields to update a price rule line item entitlement.

Input fields

  • collectionIds ([ID!])

    The collections to which the price rule applies.

  • productIds ([ID!])

    The products to which the price rule applies.

  • productVariantIds ([ID!])

    The product variants to which the price rule applies.

  • targetAllLineItems (Boolean)

    Whether the price rule applies to all items.

Version 2020-07

Specifies the input fields to update a price rule line item entitlement.

Input fields

  • collectionIds ([ID!])

    The collections to which the price rule applies.

  • productIds ([ID!])

    The products to which the price rule applies.

  • productVariantIds ([ID!])

    The product variants to which the price rule applies.

  • targetAllLineItems (Boolean)

    Whether the price rule applies to all items.

Version 2020-04

Specifies the input fields to update a price rule line item entitlement.

Input fields

  • collectionIds ([ID!])

    The collections to which the price rule applies.

  • productIds ([ID!])

    The products to which the price rule applies.

  • productVariantIds ([ID!])

    The product variants to which the price rule applies.

  • targetAllLineItems (Boolean)

    Whether the price rule applies to all items.

Version 2020-01 (Unsupported)

Specifies the input fields to update a price rule line item entitlement.

Input fields

  • collectionIds ([ID!])

    The collections to which the price rule applies.

  • productIds ([ID!])

    The products to which the price rule applies.

  • productVariantIds ([ID!])

    The product variants to which the price rule applies.

  • targetAllLineItems (Boolean)

    Whether the price rule applies to all items.

Version 2019-10 (Unsupported)

Specifies the input fields to update a price rule line item entitlement.

Input fields

  • collectionIds ([ID!])

    The collections to which the price rule applies.

  • productIds ([ID!])

    The products to which the price rule applies.

  • productVariantIds ([ID!])

    The product variants to which the price rule applies.

  • targetAllLineItems (Boolean)

    Whether the price rule applies to all items.

Version 2019-07 (Unsupported)

Specifies the input fields to update a price rule line item entitlement.

Input fields

  • collectionIds ([ID!])

    The collections to which the price rule applies.

  • productIds ([ID!])

    The products to which the price rule applies.

  • productVariantIds ([ID!])

    The product variants to which the price rule applies.

  • targetAllLineItems (Boolean)

    Whether the price rule applies to all items.

Version 2019-04 (Unsupported)

Specifies the input fields to update a price rule line item entitlement.

Input fields

  • collectionIds ([ID!])

    The collections to which the price rule applies.

  • productIds ([ID!])

    The products to which the price rule applies.

  • productVariantIds ([ID!])

    The product variants to which the price rule applies.

  • targetAllLineItems (Boolean)

    Whether the price rule applies to all items.