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