PriceRuleItemEntitlementsInput

Version 2019-04 (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.

Sign up for a Partner account to get started.

Sign up