PriceRuleUpdatePayload

Version 2019-04

Return type for priceRuleUpdate mutation.

Show definition
"""
Return type for `priceRuleUpdate` mutation.
"""
type PriceRuleUpdatePayload {
  """
  The updated price rule.
  """
  priceRule: PriceRule
  """
  The updated 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 updated price rule.

priceRuleDiscountCode (PriceRuleDiscountCode)

The updated 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

Version 2019-07

Return type for priceRuleUpdate mutation.

Show definition
"""
Return type for `priceRuleUpdate` mutation.
"""
type PriceRuleUpdatePayload {
  """
  The updated price rule.
  """
  priceRule: PriceRule
  """
  The updated 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 updated price rule.

priceRuleDiscountCode (PriceRuleDiscountCode)

The updated 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

Version 2019-10 (Latest)

Return type for priceRuleUpdate mutation.

Show definition
"""
Return type for `priceRuleUpdate` mutation.
"""
type PriceRuleUpdatePayload {
  """
  The updated price rule.
  """
  priceRule: PriceRule
  """
  The updated 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 updated price rule.

priceRuleDiscountCode (PriceRuleDiscountCode)

The updated 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

Version 2020-01 (Release candidate)

Return type for priceRuleUpdate mutation.

Show definition
"""
Return type for `priceRuleUpdate` mutation.
"""
type PriceRuleUpdatePayload {
  """
  The updated price rule.
  """
  priceRule: PriceRule
  """
  The updated 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 updated price rule.

priceRuleDiscountCode (PriceRuleDiscountCode)

The updated 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