v1

latestOpenAPI 3.1.02026-07-24145580597.0 KB
Sales:Sales V1:Sales Daily

Get 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.

get/sales/v1/daily-sales

Query parameters

startDatestring required

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.

endDatestring required

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.

locationIdsinteger[]

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

requestIdstring