v1
latestOpenAPI 3.1.02026-07-24145580597.0 KBGet daily sales
Retrieve daily sales totals per location for a date range. Each entry includes totalSales (aggregated from transactions) and projectedSales (set via Set projected sales). Required query parameters: startDate and endDate (ISO 8601, YYYY-MM-DD). Optionally filter by locationIds; if omitted, all account locations are included. Only days with stored daily aggregation data are returned; days with no data are omitted (not returned as zero). To record or change actual sales, use the Create transactions endpoint.
Query parameters
Start of the date range, inclusive, in ISO 8601 format (YYYY-MM-DD). Must be used with endDate.
Start of the date range, inclusive, in ISO 8601 format (YYYY-MM-DD). Must be used with endDate.
End of the date range, inclusive, in ISO 8601 format (YYYY-MM-DD). Must be on or after startDate.
End of the date range, inclusive, in ISO 8601 format (YYYY-MM-DD). Must be on or after startDate.
Filter by location IDs from the Get locations endpoint. Omit to include all account locations. If any ID is invalid, the request fails.
Filter by location IDs from the Get locations endpoint. Omit to include all account locations. If any ID is invalid, the request fails.
Response
Successful Response