Saltar al contenido principal
GET

Listado de ubicaciones de reservas

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

Devuelve 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/json
object
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/json
403Permisos insuficientesapplication/json
429Límite de solicitudes excedidoapplication/json