← API reference
CANONICAL TYPE REFERENCE

CreateOrderGraphPayload

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

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 auto-instantiated from lines with a productTemplateId when the order is created in CONFIRMED status. Nil when the order is created as a draft.

Validation errors with prefixed paths if operation failed

View exact 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!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.