Get real time orders KPI's

GET /manager/bi/realtime/orders

Query parameters

  • Filter by id ambassador

  • 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, or 6.

Responses

  • 200 application/json

    Returns all real time orders KPI's

    Hide response attributes Show response attributes object
  • 401 application/json

    Unauthorized.

    Hide response attribute Show response attribute object
  • Forbidden - You don't have permission to access this route

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."
}