quoteToCashAnalytics
Requires permission analytics:sales:read.
Quote-to-cash analytics over a date range, limited to what your role may see: sales reps see their own records, admins see everything by default, and other staff see their team.. Needs the sales analytics read permission.
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 QuoteToCashAnalytics($range: AnalyticsRangeInput!) {
quoteToCashAnalytics(range: $range) {
conversionRatePct
pipelineValue
winRatePct
avgCycleDays {
invoiceToPaid
orderToInvoice
quoteToOrder
total
}
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query QuoteToCashAnalytics($range: AnalyticsRangeInput!) {\n quoteToCashAnalytics(range: $range) {\n conversionRatePct\n pipelineValue\n winRatePct\n avgCycleDays {\n invoiceToPaid\n orderToInvoice\n quoteToOrder\n total\n }\n }\n}",
"variables": {
"range": {
"from": "2025-01-15T00:00:00Z",
"to": "2025-01-15T00:00:00Z"
}
}
}
EOF
Variables:
{
"range": {
"from": "2025-01-15T00:00:00Z",
"to": "2025-01-15T00:00:00Z"
}
}
Response:
{
"data": {
"quoteToCashAnalytics": {
"conversionRatePct": 0,
"pipelineValue": 0,
"winRatePct": 0,
"avgCycleDays": {
"invoiceToPaid": 0,
"orderToInvoice": 0,
"quoteToOrder": 0,
"total": 0
}
}
}
}
quoteToCashAnalytics(
range: AnalyticsRangeInput!
): QuoteToCashAnalytics!
Arguments
quoteToCashAnalytics.range ● AnalyticsRangeInput! non-null input
The date range and, optionally, the visibility scope.
Type
QuoteToCashAnalytics object
Sales figures from quote to payment.