← API reference
CANONICAL TYPE REFERENCE

ConvertEstimateToOrderPayload

Result of convertEstimateToOrder: the new order, its lines, and the accepted estimate.

The newly created order (status confirmed, payment status unpaid), with customer, addresses and amounts copied from the estimate. Null when errors is non-empty.

Order lines created one-for-one from the estimate lines, in the estimate's sort order. Null when errors is non-empty.

The source estimate after conversion: status accepted, acceptedAt set, and convertedToOrderId pointing at the new order. Null on failure.

Field-level validation errors. Empty on success; when non-empty nothing was written and every other field is null.

View exact SDL
"""
Result of `convertEstimateToOrder`: the new order, its lines, and the accepted estimate.
"""
type ConvertEstimateToOrderPayload {
  """
  The newly created order (status `confirmed`, payment status `unpaid`), with customer, addresses and amounts copied from the estimate. Null when `errors` is non-empty.
  """
  order: OrderState
  """
  Order lines created one-for-one from the estimate lines, in the estimate's sort order. Null when `errors` is non-empty.
  """
  orderLines: [OrderLineState!]
  """
  The source estimate after conversion: status `accepted`, `acceptedAt` set, and `convertedToOrderId` pointing at the new order. Null on failure.
  """
  updatedEstimate: EstimateState
  """
  Field-level validation errors. Empty on success; when non-empty nothing was written and every other field is null.
  """
  errors: [FieldError!]!
}

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