Average transaction value
Mean value of each transaction — total volume divided by transaction count.
Returns average transaction value per period — sales_volume / sales_transaction_count. One of five metrics returned by the shared metric/transactions/data route — this page focuses on sales_atv.
Demographic-free. Point-of-sale records don’t carry visitor demographics. Use
breakdownByDimensions: ["entity"].
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
start | string (ISO 8601) | yes | Inclusive start timestamp with timezone |
end | string (ISO 8601) | yes | Inclusive end timestamp with timezone |
entities | string[] | yes | Array of location, organisation, or recording IDs (matching entityType) |
entityType | "location" | "organisation" | yes | Aggregation level |
facets | string[] | yes | What to include: segments, summary, aggregates |
aggregationPeriod | string | yes | Time granularity — see aggregation period options |
breakdownByDimensions | string[] | yes | Must be ["entity"] |
insideRecordingTimes | boolean | no | true to restrict to opening hours only. Default false |
Example request
{
"action": "metric",
"data": {
"id": "req-atv-001",
"route": "transactions/data",
"body": {
"start": "2024-04-01T00:00:00.000Z",
"end": "2024-04-07T23:59:59.000Z",
"entities": ["64a1b2c3d4e5f6a7b8c9d0e3"],
"entityType": "location",
"breakdownByDimensions": ["entity"],
"facets": ["segments", "summary"],
"aggregationPeriod": "day"
}
}
}
Example response
req-atv-001|0|0|{
"segments": [
{ "index": "2024-04-01T00:00:00.000", "location": "64a1b2c3d4e5f6a7b8c9d0e3", "sales_atv": 45.76 },
{ "index": "2024-04-02T00:00:00.000", "location": "64a1b2c3d4e5f6a7b8c9d0e3", "sales_atv": 47.03 }
],
"summary": [
{ "location": "64a1b2c3d4e5f6a7b8c9d0e3", "sales_atv": 45.34 }
],
"meta": {
"units": {
"sales_atv": "currency-GBP"
}
}
}
null means ATV is undefined (no transactions in the period). Don’t coerce null to 0.
Update frequency
Transactions update approximately every 30 minutes.