Overview /
Operations /
Branch dashboard figures
Branch dashboard figures
get
https://api.flactrum.com/v1/dashboard
Raw numbers behind the dashboard: totals for the period and the one before it, hourly revenue by channel, and a per-branch table. Cancelled and refunded orders are excluded from revenue.
| Required scope | dashboard.read |
| Panel screen | Operations → Branch dashboard |
| Success status | 200 |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| period | query | string | — |
| region | query | string | Limit to one region. The available regions come back in meta. |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/dashboard?period=week' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": {
"period": {
"range": "hafta",
"from": "2026-09-27T21:00:00+00:00",
"to": "2026-10-04T20:59:59+00:00",
"previous_from": "2026-09-20T21:00:00+00:00",
"previous_to": "2026-09-27T20:59:59+00:00"
},
"totals": {
"revenue": 0,
"orders": 0,
"average_basket": 0,
"audit_average": null
},
"previous_totals": {
"revenue": 0,
"orders": 0,
"average_basket": 0
},
"hourly_revenue": {
"hours": [
"07",
"08",
"09",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
"20",
"21",
"22",
"23"
],
"series": [
{
"channel": "kasa",
"values": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"channel": "kiosk",
"values": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"channel": "mobil",
"values": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"channel": "pazaryeri",
"values": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
],
"total": 0
},
"branches": [
{
"id": "01m43mza8ghy9wh9bgwn3nk570",
"name": "Nişantaşı",
"region": "Bölge 2",
"revenue": 0,
"average_basket": 0,
"kiosk_share": 0,
"audit_score": null,
"low_stock_items": 0,
"state": "no_sales"
}
]
},
"meta": {
"regions": [
"Bölge 2"
]
}
}
curl -X GET 'https://api.flactrum.com/v1/dashboard?period=yearly' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 400 · application/json
{
"error": {
"code": "bad_request",
"message": "Unknown period \"yearly\".",
"details": {
"allowed": [
"today",
"week",
"month"
]
}
}
}