We're constantly trying to improve your support experience, and your feedback is extremely valuable to us.

Please take a moment to tell us about your experience today.
Sign up for future Help Center user research studies.

PriceRuleItemEntitlementsInput

Version 2019-04

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

Show definition
"""
Specifies the input fields to update a price rule line item entitlement.
"""
input PriceRuleItemEntitlementsInput {
  """
  The collections to which the price rule applies.
  """
  collectionIds: [ID!]
  """
  The products to which the price rule applies.
  """
  productIds: [ID!]
  """
  The product variants to which the price rule applies.
  """
  productVariantIds: [ID!]
  """
  Whether the price rule applies to all items.
  """
  targetAllLineItems: Boolean = false
}

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 (Latest)

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

Show definition
"""
Specifies the input fields to update a price rule line item entitlement.
"""
input PriceRuleItemEntitlementsInput {
  """
  The collections to which the price rule applies.
  """
  collectionIds: [ID!]
  """
  The products to which the price rule applies.
  """
  productIds: [ID!]
  """
  The product variants to which the price rule applies.
  """
  productVariantIds: [ID!]
  """
  Whether the price rule applies to all items.
  """
  targetAllLineItems: Boolean = false
}

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 (Release candidate)

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

Show definition
"""
Specifies the input fields to update a price rule line item entitlement.
"""
input PriceRuleItemEntitlementsInput {
  """
  The collections to which the price rule applies.
  """
  collectionIds: [ID!]
  """
  The products to which the price rule applies.
  """
  productIds: [ID!]
  """
  The product variants to which the price rule applies.
  """
  productVariantIds: [ID!]
  """
  Whether the price rule applies to all items.
  """
  targetAllLineItems: Boolean = false
}

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.

Sign up for a Partner account to get started.

Sign up