isOpen) and whether itisAppointment).branchId returned by GET /branches that belongs to yourtype = service) and active services are included.isAppointment = true means the service can be booked for a specific time viaGET /services/{id}/slots + POST /tickets/book with a time.name are localized to X-Locale where translations exist.curl --location 'https://api-dev.skiplino.com/external/v1/branches/802b33af66/tree' \
--header 'X-Locale;' \
--header 'Authorization: Bearer <token>'{
"message": "Branch tree fetched successfully.",
"data": [
{
"id": "7c1f9a3b2d",
"name": "Teller Services",
"isMain": true,
"services": [
{
"id": "6fe8fb8b12",
"name": "Cash Withdrawal",
"character": "Q",
"isOpen": true,
"isAppointment": false
},
{
"id": "802b33af66",
"name": "Account Opening",
"character": "A",
"isOpen": true,
"isAppointment": true
}
]
}
]
}