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.
customerId 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.
Orders come latest finalized first. Without pageSize (1 to 100) the first 100 return; when nextCursor is set,
send it back as cursor with the same filters for the next page.
Generated Reference
POST/public-api/publicapi.v1.Order/ListOrders
Lists commercial orders belonging to one customer, latest finalized first. Without page_size the first 100 return with a next_cursor when more exist.
RequestListOrdersRequest
ResponseListOrdersResponse
ListOrdersRequest
Field
Type
Description
customer_id
string
status
OrderStatus
page_size
int32
Rows per page, 1 to 100. Zero uses 100. Without page_size the first 100 return with a next_cursor when more exist.
cursor
string
Opaque next_cursor from the previous page; keep the other filters the same. The preferred way to read every row.
ListOrdersResponse
Field
Type
Description
orders
repeated Order
next_cursor
string
Pass as cursor to read the next page. Empty on the last page.