Parameters
1 query
Query parameters
· 1daysnumberOptionalNumber of days to analyze. Defaults to 30.
Default:
30Example
30Returns order counts and values grouped by status. Helps identify bottlenecks in order processing workflow.
1 query
daysnumberOptionalNumber of days to analyze. Defaults to 30.
30301 status code documented
totalOrdersnumberRequiredTotal number of orders in the analyzed period.
totalValuenumberRequiredTotal value of all orders.
byStatusobject[]RequiredBreakdown by order status, sorted by workflow position.
Status breakdown item.
statusIdnumberRequiredInternal status ID.
statusCodestringRequiredStatus code (e.g., "new", "paid", "done", "storno").
statusLabelstringRequiredHuman-readable status label.
orderCountnumberRequiredNumber of orders in this status.
totalValuenumberRequiredTotal value of orders in this status.
percentagenumberRequiredPercentage of total orders (0-100).
currencystringRequiredCurrency code for all amounts (e.g., "CZK").
{
"totalOrders": 0,
"totalValue": 0,
"byStatus": [
{
"statusId": 0,
"statusCode": "example_statusCode",
"statusLabel": "example_statusLabel",
"orderCount": 0,
"totalValue": 0,
"percentage": 0
}
],
"currency": "example_currency"
}GET /bff/dashboard/orders-by-status
curl -X GET "https://api.bizkithub.com/bff/dashboard/orders-by-status?days=30" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.