API ReferenceAnalytics
Retrieve top clients by invoice revenue
Get top clients ranked by invoice totals
AuthorizationBearer <token>
In: header
Query Parameters
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/invoice-top-clients?start=2019-08-24T14%3A15%3A22Z&end=2019-08-24T14%3A15%3A22Z"[
{
"averageOrderValue": 0.1,
"clientAvatar": {
"blobId": "string",
"height": 0,
"thumbnailBlobId": "string",
"width": 0
},
"clientId": "string",
"clientName": "string",
"totalAmount": 0.1,
"totalOrders": 0
}
]{
"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"
}