branchId returned by GET /branches that belongs to your company.avgWaitingTime — the typical wait at this branch right now, in whole minutes.sampleSize — how much recent activity the estimate is based on; use it as abranchStatus.isBranchOpen — whether the branch is open at this moment.sampleSize is 0, do not display avgWaitingTime. There has not beenavgWaitingTime is never 0, so it cannot be used on its own tosampleSize (roughly under 5) means the estimate rests on very few visits andname is localized to X-Locale where a translation exists.curl --location 'https://api.skiplino.com/external/v1/branches/802b33af66' \
--header 'X-Locale;' \
--header 'Authorization: Bearer <token>'{
"message": "Branch fetched successfully.",
"data": {
"branch": {
"id": "802b33af66",
"name": "Seef Mall Branch",
"addressLine": "Seef District, Manama, Bahrain",
"location": {
"lat": 26.2361,
"lng": 50.5436
},
"group": {
"id": "grpseef0001",
"name": "Capital Region"
},
"branchStatus": {
"isBranchOpen": true
},
"avgWaitingTime": 18,
"sampleSize": 51
}
}
}