Retail Sales Trend Report
This service provides the insights about sales performance at each venue examined in the report. Within the response of this service you will be receiving both the requested insights based on the date range, granularity and type of metric, and the annual sales for the past year-to-date and 3 last calendar years.<br/><br/> <b>Note</b>: Retail sales data currently excludes online transactions and only pertains to sales in brick and mortar locations. Transactions which occurred using the Buy Now Pick Up In Store option may be reflected in the data, depending on the retailer concerned. In the event that Retail Sales data is not available for the report’s entire date range the response will provide the exact dates for which the data applies.
Request
- Base URLhttps://papi.placer.ai
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"startDate": "2020-12-01",
"endDate": "2021-05-31",
"apiId": "venue:7d55054520e387813d764b03",
"metric": "sales",
"granularity": "month"
}Response
200 response
Example response
{
"requestId": "a760dc398f68814d2c967e972e2bd438",
"data": {
"startDate": "2020-12-01",
"endDate": "2021-05-31",
"apiId": "venue:7d55054520e387813d764b03",
"metric": "sales",
"granularity": "month",
"annualSales": {
"bins": [
"2021",
"2022",
"2023",
"1y"
],
"values": [
60222003.71,
58126656.69,
54654112.81,
67245632.21
]
},
"trend": {
"bins": [
"2022-08-01",
"2022-09-01",
"2022-10-01"
],
"values": [
60222003.71,
58126656.69,
54654112.81
]
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.