Skip to content

List Quotes

Required scope: quote:read

customerId is required. Omit status, or use PUBLIC_QUOTE_STATUS_UNSPECIFIED, to return all quote statuses for the customer. The other accepted JSON values are PUBLIC_QUOTE_STATUS_CONCEPT, PUBLIC_QUOTE_STATUS_CONFIRMED, and PUBLIC_QUOTE_STATUS_SUPERSEDED. Each quote includes its frozen pricingCountry and derived currency.

Quotes come newest 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.Quote/ListQuotes

Lists quotes belonging to one customer, newest first. Without page_size the first 100 return with a next_cursor when more exist.

Request ListQuotesRequest
Response ListQuotesResponse

ListQuotesRequest

Field Type Description
customer_id string
status QuoteStatus
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.

ListQuotesResponse

Field Type Description
quotes repeated Quote
next_cursor string Pass as cursor to read the next page. Empty on the last page.
{
"customerId": "<customer-id>",
"status": "PUBLIC_QUOTE_STATUS_CONCEPT"
}
{
"quotes": [
{
"id": "<quote-id>",
"customerId": "<customer-id>",
"status": "PUBLIC_QUOTE_STATUS_CONCEPT",
"currency": "USD",
"pricingCountry": "US",
"version": 3,
"referenceNumber": "Q-000123"
}
]
}