quotesPaginated
Requires permission sales:quote:read.
Page through quotes with a cursor, or with limit and offset for numbered pages. Returns the page, the total count, whether more rows exist, and per-status counts for list headers.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query QuotesPaginated {
quotesPaginated {
hasMore
nextCursor
totalCount
quotes {
id
quoteNumber
competitorName
customerName
status
createdAt
}
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query QuotesPaginated {\n quotesPaginated {\n hasMore\n nextCursor\n totalCount\n quotes {\n id\n quoteNumber\n competitorName\n customerName\n status\n createdAt\n }\n }\n}"
}
EOF
Response:
{
"data": {
"quotesPaginated": {
"hasMore": true,
"nextCursor": "string",
"totalCount": 0,
"quotes": [
{
"id": "id",
"quoteNumber": "string",
"competitorName": "string",
"customerName": "string",
"status": "string",
"createdAt": "2025-01-15T00:00:00Z"
}
]
}
}
}
quotesPaginated(
filter: QuoteFilterInput
): QuotesPaginatedResponse!
Arguments
quotesPaginated.filter ● QuoteFilterInput input
Filters and paging: send cursor for infinite scroll or offset for numbered pages, plus limit.
Type
QuotesPaginatedResponse object
A page of quotes with paging metadata, summary figures and per-status counts.