PriceRuleCreatePayload

Version 2019-04 (latest)

Return type for priceRuleCreate mutation.

Show definition

"""
Return type for priceRuleCreate mutation.
"""
type PriceRuleCreatePayload {
  """
  The newly created price rule.
  """
  priceRule: PriceRule
  """
  The newly created discount code.
  """
  priceRuleDiscountCode: PriceRuleDiscountCode
  """
  List of errors that occurred executing the mutation.
  """
  priceRuleUserErrors: [PriceRuleUserError!]!
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

priceRule (PriceRule)

The newly created price rule.

priceRuleDiscountCode (PriceRuleDiscountCode)

The newly created discount code.

priceRuleUserErrors ([PriceRuleUserError!]!)

List of errors that occurred executing the mutation.

Deprecated fields

Show/Hide
userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use priceRuleUserErrors instead

Sign up for a Partner account to get started.

Sign up