Analytics

get
/analytics/metric/:metric

https://api.abowire.com/v1/analytics/metric/:metric
This endpoint returns the current values for a metric
Request
Response
Request
Path Parameters
metric
required
string
total-sales, new-sales, payments, mrr, signups, subscribers, churn-rate
Headers
Authentication
required
string
Bearer authentication token
Query Parameters
period
required
string
day, month, quarter, year
Response
200: OK
{
"name": "mrr",
"title": "Monthly Recurring Revenue (MRR) - Year",
"xTitle": "",
"yTitle": "Total amount (€)",
"values": [
[
"2020-09-01",
69.2
]
],
"period": "year",
"type": "money"
}