Returns one of the reports from the Reports app as rows. Sales Summary gives service and product quantities and sales totals for each day; Client Retention gives how many clients from the period visited again within 90 or 180 days. Needs an Admin user or the Can access company reports permission.
POST /api/v1/mangomint/get_report
Input
Input: get_report | Parameter | Type | Description |
| report required | enum | sales_summary, service_sales, product_sales, sales_by_time_period, sales_by_staff, canceled_appointments or client_retention. |
| from required | date | First day, inclusive. |
| to required | date | Last day, inclusive. |
| location_ids | string[] | Locations to include. Default: all. |
Example response
{
"report": "sales_summary",
"from": "2026-10-05",
"to": "2026-10-11",
"currency": "USD",
"rows": [
{
"date": "2026-10-05",
"services_qty": 31,
"services_total": 3120,
"products_qty": 6,
"products_total": 214,
"total": 3334
},
{
"date": "2026-10-06",
"services_qty": 28,
"services_total": 2870,
"products_qty": 4,
"products_total": 148,
"total": 3018
},
{
"date": "2026-10-07",
"services_qty": 35,
"services_total": 3540,
"products_qty": 9,
"products_total": 302,
"total": 3842
},
{
"date": "2026-10-08",
"services_qty": 33,
"services_total": 3315,
"products_qty": 5,
"products_total": 176,
"total": 3491
},
{
"date": "2026-10-09",
"services_qty": 41,
"services_total": 4210,
"products_qty": 12,
"products_total": 388,
"total": 4598
},
{
"date": "2026-10-10",
"services_qty": 47,
"services_total": 4760,
"products_qty": 10,
"products_total": 341,
"total": 5101
},
{
"date": "2026-10-11",
"services_qty": 12,
"services_total": 1180,
"products_qty": 2,
"products_total": 64,
"total": 1244
}
],
"totals": {
"services_qty": 227,
"services_total": 22995,
"products_qty": 48,
"products_total": 1633,
"total": 24628
}
}