Get Product Sales Grouped
Analytics
Get Product Sales Grouped
Get product sales breakdown with grouping support.
Returns all groups with summaries and per-group pagination. Summary statistics are calculated from ALL rows (not just the paginated subset).
Group options:
- “none”: No grouping (single group with all items)
- “location”: Group by location
- “provider”: Group by provider
- “item_category”: Group by item category
- “payment_medium”: Group by payment medium (items may appear in multiple groups)
- “created_date”: Group by charge date
GET
Get Product Sales Grouped
Documentation Index
Fetch the complete documentation index at: https://docs.decodahealth.com/llms.txt
Use this file to discover all available pages before exploring further.
Headers
The tenant you are making this request on behalf of
Your api key
Query Parameters
Available options:
none, location, provider, item_category, payment_medium, created_date Timezone for date grouping (e.g., 'America/New_York', 'UTC')
Per-group pagination page number
Per-group pagination page size
Available options:
asc, desc Response
Successful Response
Complete response from the product sales grouped endpoint.
This response structure:
- Returns all groups with their summaries calculated from ALL rows
- Supports per-group pagination (rows are paginated, but summary uses all data)
- Includes grand totals across all groups
