/bff/branch/order-items-summary
Returns the headline numbers (total turnover, total credit balance, total item count, currency, branch name) over EVERY shop__order_item attributed to the branch. Independent of pagination — drives the header above the paginated /order-items grid. Franchise economics use the rate effective on the LAST day of the filtered month (or today when no month filter is set), looked up from shop__branch_franchise_fee; when no rule covers that day the fee fields are omitted so the admin hides the franchise row.
Parameters
2 query
branchSlugstringRequiredBranch slug.
filterMonthstringRestrict the summary to a single calendar month, expressed as YYYY-MM. Uses the same revenue-date predicate as /order-items, so the headline turnover matches the filtered grid below. Malformed values are silently ignored.
Request
GET /bff/branch/order-items-summary
curl -X GET "https://api.bizkithub.com/bff/branch/order-items-summary?branchSlug=gymroom-plzen&filterMonth=2026-03" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Response
JSON payload
{
"branchId": "example_branchId",
"branchSlug": "example_branchSlug",
"branchName": "example_branchName",
"currency": "example_currency",
"totalPriceMoney": 0,
"totalCreditAmount": 0,
"itemCount": 0,
"franchiseFeePercentage": 0,
"franchiseFeeAmount": 0,
"franchiseFeeRemainder": 0
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.