Query parameters
-
filter[id_ambassador] integer
Filter by id ambassador
-
filter[status] string
Filter by ambassador status (0: ambassador, 1: employee, 2: administrator, 3: seller, 4: shop manager, 5: manager, 6: expert)
Values are
0
,1
,2
,3
,4
,5
, or6
.
GET /manager/bi/realtime/orders
curl \
-X GET https://domain.tld/api/v2/manager/bi/realtime/orders \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"number_of_sales": 10,
"revenue": 10
}
Response examples (401)
{
"message": "Unauthorized."
}