DraftOrderCreatePayload

Version 2019-04

Return type for draftOrderCreate mutation.

Show definition
"""
Return type for `draftOrderCreate` mutation.
"""
type DraftOrderCreatePayload {
  """
  The created draft order.
  """
  draftOrder: DraftOrder
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

draftOrder (DraftOrder)

The created draft order.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07 (Latest)

Return type for draftOrderCreate mutation.

Show definition
"""
Return type for `draftOrderCreate` mutation.
"""
type DraftOrderCreatePayload {
  """
  The created draft order.
  """
  draftOrder: DraftOrder
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

draftOrder (DraftOrder)

The created draft order.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Release candidate)

Return type for draftOrderCreate mutation.

Show definition
"""
Return type for `draftOrderCreate` mutation.
"""
type DraftOrderCreatePayload {
  """
  The created draft order.
  """
  draftOrder: DraftOrder
  """
  List of errors that occurred executing the mutation.
  """
  userErrors: [UserError!]!
}

Fields

draftOrder (DraftOrder)

The created draft order.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up