Studio scorecard
studio_kpisHow the studio did in one period: sale count, net sales, amount collected, average sale, unique clients, and class fill. Points at sales_summary and class_attendance_summary for breakdowns. No line items and no class rows. netSales is after discounts and before tax; collected is payments received. When a list is longer than the pages read, partial names the totals that are short and change is left out. Mindbody calls: one site lookup for the local time (cached), then 15 sales pages and 10 class pages per range, doubled when comparing (at most 51).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Date range ending today (default last_7_days). last_30_days, month_to_date, and last_month are the other presets. | |
| siteId | No | Site to call (SiteId header). Default -99. | |
| endDate | No | Last day, inclusive (default today). | |
| startDate | No | First day, e.g. 2026-09-01. At most 31 days with endDate. Do not pass range as well. | |
| compareToPrevious | No | Also total the previous period. A whole calendar month compares with the whole previous month. |