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.

DiscountCodeBasicCreatePayload

Version 2019-07 (Latest)

Return type for discountCodeBasicCreate mutation.

Show definition
"""
Return type for `discountCodeBasicCreate` mutation.
"""
type DiscountCodeBasicCreatePayload {
  """
  The created discount.
  """
  codeDiscountNode: DiscountCodeNode
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [DiscountUserError!]!
}

Fields

codeDiscountNode (DiscountCodeNode)

The created discount.

userErrors ([DiscountUserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Release candidate)

Return type for discountCodeBasicCreate mutation.

Show definition
"""
Return type for `discountCodeBasicCreate` mutation.
"""
type DiscountCodeBasicCreatePayload {
  """
  The created discount.
  """
  codeDiscountNode: DiscountCodeNode
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [DiscountUserError!]!
}

Fields

codeDiscountNode (DiscountCodeNode)

The created discount.

userErrors ([DiscountUserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up