DocsAPI ReferenceBranch/bff/branch/customers-summary
getBranchAdmin BFF

/bff/branch/customers-summary

Returns the total count of distinct customers attached to the branch via shop__order_item.branch_id. Drives the header above the paginated /customers grid.

BranchgetBffBranchCustomers-summary

Parameters

1 query

1 total
Query · 1
branchSlugstringRequired

Branch slug.

Request

GET /bff/branch/customers-summary

get
curl -X GET "https://api.bizkithub.com/bff/branch/customers-summary?branchSlug=gymroom-plzen" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

JSON payload

{
  "branchId": "example_branchId",
  "branchSlug": "example_branchSlug",
  "branchName": "example_branchName",
  "itemCount": 0
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key