interface OrderFromQuoteDraft {
    orderNumber?: string;
    orderState?: string;
    paymentState?: string;
    quote: QuoteResourceIdentifier;
    quoteStateToAccepted?: boolean;
    shipmentState?: string;
    state?: StateResourceIdentifier;
    version: number;
}

Properties

orderNumber?: string

User-defined identifier for the Order that is unique across a Project. Once set, the value cannot be changed.

orderState?: string

Current status for the Order.

paymentState?: string

Payment status for the Order.

ResourceIdentifier to the Quote from which the Order is created.

The [Quote](ctp:api:type:Quote) must have the `Pending` [state](ctp:api:type:QuoteState) and must be valid (not past the `validTo` date).
quoteStateToAccepted?: boolean

If true, the quoteState of the referenced Quote will be set to Accepted.

shipmentState?: string

Shipment status for the Order.

State of the Order in a custom workflow.

version: number

version of the Quote from which the Order is created.