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

Properties

orderNumber?: string

String that uniquely identifies an order. It can be used to create more human-readable (in contrast to ID) identifier for the order. It should be unique across a project. Once it's set it cannot be changed. For easier use on Get, Update and Delete actions we suggest assigning order numbers that match the regular expression [a-z0-9_\-]{2,36}.

orderState?: string

Order will be created with Open status by default.

paymentState?: string

Payment state of the Order.

ResourceIdentifier of the Quote from which this Order is created. If the Quote has QuoteState in Accepted, Declined or Withdrawn then the order creation will fail. The creation will also fail if the Quote has expired (validTo check).

quoteStateToAccepted?: boolean

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

shipmentState?: string

Shipment state of the Order.

Reference to a State indicating the Order's state.

version: number

version of the Quote from which an Order is created.

Generated using TypeDoc