v1
latestOpenAPI 3.1.02026-08-069158174.8 KBCRM Service Calls
CRM Aggregate
Aggregate Orders
Aggregate orders by group-by fields — ideal for dashboards, charts, and analytics.
Use this endpoint to build order distribution charts, fulfillment status views, or revenue breakdowns by order type.
Request Body (AggregateRequest): Same as leads/aggregate.
Examples:
- Orders by stage: {"group_by_fields": ["stage"]}
- Orders by type with amount: {"group_by_fields": ["order_type"], "aggregate_field": "total_amount"}
post/crm/orders/aggregate
Request body
Response
Successful Response