API ReferenceAnalytics
Retrieve product statistics
Get product statistics
AuthorizationBearer <token>
In: header
Path Parameters
productId*string
Query Parameters
groupingScale?string
Value in
"DAY" | "WEEK" | "MONTH" | "QUARTER" | "YEAR"start*string
Format
date-timeend*string
Format
date-timeResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/analytics/product-stats/string?start=2019-08-24T14%3A15%3A22Z&end=2019-08-24T14%3A15%3A22Z"{
"data": [
{
"date": "string",
"values": [
{
"name": "string",
"value": 0.1
}
]
}
],
"series": [
{
"color": "string",
"name": "string"
}
]
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}