cURL
curl --request GET \ --url https://api.decodahealth.com/dashboard/overview \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
{ "totalRevenueFromPos": 123, "topSellingItems": [ { "id": "<string>", "name": "<string>", "totalQuantity": 123, "totalRevenue": 123 } ], "topCustomers": [ { "id": "<string>", "name": "<string>", "totalSpend": 123, "transactionCount": 123 } ], "period": { "startDate": "<string>", "endDate": "<string>" }, "todayChange": 123 }
Get an overview of payments including total revenue from POS, top-selling items, and top customers by spending.
The tenant you are making this request on behalf of
Your api key
asc
desc
Successful Response
Show child attributes