← All types
Ob Object

CreateOrderGraphPayload

Rich payload for createOrderGraph — the full order graph in one response

Fields

The order header

The customer attached to the order

The billing address attached to the order

The shipping address attached to the order

Order lines

jobs

[JobState!]Nullable

Jobs auto-instantiated from lines with a productTemplateId when the order is created in CONFIRMED status. Nil when the order is created as a draft.

errors

[FieldError!]!Non-null

Validation errors with prefixed paths if operation failed

Referenced by (1)
Exact type SDL
"""
Rich payload for createOrderGraph — the full order graph in one response
"""
type CreateOrderGraphPayload {
  """The order header"""
  order: OrderState
  """The customer attached to the order"""
  customer: CustomerState
  """The billing address attached to the order"""
  billingAddress: AddressState
  """The shipping address attached to the order"""
  shippingAddress: AddressState
  """Order lines"""
  lines: [OrderLineState!]
  """
  Jobs auto-instantiated from lines with a productTemplateId when the order is created in CONFIRMED status. Nil when the order is created as a draft.
  """
  jobs: [JobState!]
  """Validation errors with prefixed paths if operation failed"""
  errors: [FieldError!]!
}