GET
Listado de ubicaciones de reservas
Scope:
crm:booking-services.readhttps://api.holded.com/api/v2/booking-locationsDevuelve todas las ubicaciones de reservas de tu cuenta.
Petición
python
import requests
url = "https://api.holded.com/api/v2/booking-locations"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Respuestas
Respuesta
json
{
"items": [
{
"id": "507f1f77bcf86cd799439011",
"name": "string",
"description": "string",
"active": false,
"available_services": [
"string"
]
}
]
}Respuestas exitosas
200Listado de ubicacionesapplication/jsonobject
items[]object[]
idstring
Unique identifier of the location
namestring
Name of the location
descriptionstring
Description of the location
activeboolean
Whether the location is active
available_services[]string[]
List of active service identifiers
Respuestas de error
401API key inválida o no proporcionadaapplication/json403Permisos insuficientesapplication/json429Límite de solicitudes excedidoapplication/json