GetOrderRequest
| Field | Type |
|---|---|
id | string |
Required scope: order:read
This endpoint returns a commercial order created by confirming a quote. It
does not return an operational work order. Work orders are separate records
under the WorkOrder service and use work_order:* scopes.
Commercial orders cannot be created directly through the public API. Use
ConfirmQuote, which is the only order creation path.
The order-level pricingCountry and currency come from the quote’s frozen
commercial snapshot and match its item pricing.
POST /public-api/publicapi.v1.Order/GetOrder Returns a commercial order by ID.
| Field | Type |
|---|---|
id | string |
| Field | Type |
|---|---|
order | Order |
{ "id": "<order-id>"}{ "order": { "id": "<order-id>", "portfolioId": "<portfolio-id>", "quoteId": "<quote-id>", "status": "PUBLIC_ORDER_STATUS_CREATED", "pricingCountry": "US", "currency": "USD", "referenceNumber": "O-000123", "version": 1, "items": [ { "productId": "<product-id>", "quantity": 8, "lineId": "<line-id>", "displayName": "Solar panel", "priceOnce": 18900, "currency": "USD" } ] }}