ListOrdersRequest
| Field | Type |
|---|---|
portfolio_id | string |
status | OrderStatus |
Required scope: order:read
Lists commercial orders, not operational work orders. Work orders use
the separate WorkOrder service and work_order:* scopes. Commercial orders
are created only by ConfirmQuote; the public API has no direct order creation
endpoint.
Each order exposes the quote’s frozen pricingCountry and derived currency.
portfolioId is required. Omit status, or use
PUBLIC_ORDER_STATUS_UNSPECIFIED, to return all statuses. The filter also
accepts PUBLIC_ORDER_STATUS_CREATED and PUBLIC_ORDER_STATUS_CANCELLED.
POST /public-api/publicapi.v1.Order/ListOrders Lists commercial orders belonging to one portfolio.
| Field | Type |
|---|---|
portfolio_id | string |
status | OrderStatus |
| Field | Type |
|---|---|
orders | repeated Order |
{ "portfolioId": "<portfolio-id>", "status": "PUBLIC_ORDER_STATUS_CREATED"}{ "orders": [ { "id": "<order-id>", "portfolioId": "<portfolio-id>", "quoteId": "<quote-id>", "status": "PUBLIC_ORDER_STATUS_CREATED", "pricingCountry": "US", "currency": "USD", "referenceNumber": "O-000123", "version": 1 } ]}