Alladdin

Work in progress

Site en construction

الموقع قيد الإنشاء

Alladdin
GET

List all booking locations

Scope: crm:booking-services.read https://api.alladdin.com/api/v2/booking-locations

Returns all booking locations for your account. Locations are not paginated — all are returned in a single response.

Request

python
import requests

url = "https://api.alladdin.com/api/v2/booking-locations"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Responses

Response

json
{
  "items": [
    {
      "id": "507f1f77bcf86cd799439011",
      "name": "string",
      "description": "string",
      "active": false,
      "available_services": [
        "string"
      ]
    }
  ]
}

Success responses

200 List of booking locations application/json object items[] object[] id string

Unique identifier of the location

name string

Name of the location

description string

Description of the location

active boolean

Whether the location is active

available_services[] string[]

List of active service identifiers

Error responses

401 Invalid or missing API key application/json 403 Insufficient permissions application/json 429 Rate limit exceeded application/json

← PreviousList all bookings →

Next →Get a booking by ID →