Skip to content

Confirm Quote

Required scope: quote:confirm

Confirmation is the only public API path that creates a commercial order. There is no CreateOrder endpoint. The quote is confirmed and its order is created atomically; the response contains both records. The quote and order retain the same frozen pricing country and derived currency.

Pass the quote’s current version as expectedVersion. This optimistic concurrency check prevents confirmation from silently using a stale quote.

Generated Reference
POST /public-api/publicapi.v1.Quote/ConfirmQuote

Confirms a concept quote and atomically creates its commercial order. Repeating the operation for an already-confirmed quote returns its order.

Request ConfirmQuoteRequest
Response ConfirmQuoteResponse

ConfirmQuoteRequest

Field Type
id string
expected_version int32

ConfirmQuoteResponse

Field Type
quote Quote
order Order
{
"id": "<quote-id>",
"expectedVersion": 3
}
{
"quote": {
"id": "<quote-id>",
"status": "PUBLIC_QUOTE_STATUS_CONFIRMED",
"pricingCountry": "US",
"currency": "USD",
"version": 4,
"finalizedOrderId": "<order-id>"
},
"order": {
"id": "<order-id>",
"quoteId": "<quote-id>",
"status": "PUBLIC_ORDER_STATUS_CREATED",
"pricingCountry": "US",
"currency": "USD",
"referenceNumber": "O-000123"
}
}

Repeating confirmation after it succeeds returns the already-created order and does not create a duplicate. expectedVersion is enforced while the quote is still a concept.