Compare branch revenue
Any signed in user. Returns every active branch with its sales count, revenue, and share. Branches come back ordered by revenue, and a branch with no sales is reported as zero rather than left out.
GET
/api/v1/dashboard/branch-comparisonAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Responses
200
Revenue by branch, richest first
branchesobject[]requiredShow propertiesHide properties
Array of
objectidstringrequiredcodestringrequirednamestringrequiredcitystringrequiredsales_countintegerrequiredmin -9007199254740991 · max 9007199254740991
revenuestringrequiredshare_pctnumberrequired401
Not authenticated
detailstringrequired