← API reference
CANONICAL TYPE REFERENCE

CreateOrderGraphInput

Converged input for createOrderGraph — composes the same Upsert*Input types as the per-resource mutations

Order header. customerId / billingAddressId / shippingAddressId may be omitted when nested customer / billingAddress / shippingAddress are provided. Must not have an id (createOrderGraph is create-only).

Optional inline customer to create. Mutually exclusive with order.customerId. Must not have an id.

Optional inline billing address to create. Mutually exclusive with order.billingAddressId. Must not have an id.

Optional inline shipping address to create. Mutually exclusive with order.shippingAddressId. Must not have an id.

Order lines to create. Each line's orderId is filled in by the resolver. Lines must not carry an id.

View exact SDL
"""
Converged input for createOrderGraph — composes the same Upsert*Input types as the per-resource mutations
"""
input CreateOrderGraphInput {
  """
  Order header. customerId / billingAddressId / shippingAddressId may be omitted when nested customer / billingAddress / shippingAddress are provided. Must not have an id (createOrderGraph is create-only).
  """
  order: UpsertOrderInput!
  """
  Optional inline customer to create. Mutually exclusive with order.customerId. Must not have an id.
  """
  customer: UpsertCustomerInput
  """
  Optional inline billing address to create. Mutually exclusive with order.billingAddressId. Must not have an id.
  """
  billingAddress: UpsertAddressInput
  """
  Optional inline shipping address to create. Mutually exclusive with order.shippingAddressId. Must not have an id.
  """
  shippingAddress: UpsertAddressInput
  """
  Order lines to create. Each line's orderId is filled in by the resolver. Lines must not carry an id.
  """
  lines: [UpsertOrderLineInput!]!
}

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