Skip to main content

Convert a quote into an order

Accept a quote and turn it into a confirmed order that can be fulfilled.

Mutation

mutation ConvertQuoteToOrder($orderId: Int!, $status: String!) {
orderSetStatus(
input: {
orderId: $orderId
status: $status
}
) {
id
status
type
createdAt
total {
gross
net
}
}
}

Variables

{
"orderId": 2792,
"status": "CONFIRMED"
}

Response

{
"data": {
"orderSetStatus": {
"id": 2792,
"status": "CONFIRMED",
"type": "quotation",
"createdAt": "2026-02-12T14:22:08.000Z",
"total": {
"gross": 917.23,
"net": 917.23
}
}
}
}

How it works

Use orderSetStatus to transition a quote (type: quotation, status: QUOTATION) to a confirmed order (status: CONFIRMED). Quotes can originate from a customer's quote request or be created directly by a sales rep — either way, the customer confirms from the portal using this mutation. This is typically triggered from a "Convert to order" button on the quote detail page. The order ID stays the same after the transition. The available status transitions depend on the order status set configured in your Propeller environment.

See also