Locations (Ubicaciones)
Listar ubicaciones
Sección titulada «Listar ubicaciones»GET /v1/locationsSolo lectura. Retorna las ubicaciones del negocio. Soporta el sistema de filtrado.
Respuesta exitosa: 200 OK
{ "total": 3, "items": [ { "id": "770e8400-e29b-41d4-a716-446655440002", "name": "Sede Principal", "address": "Av. Amazonas N36-152", "additionalInformation": "Piso 3, Oficina 301", "phone": "+593991234560", "email": "sede@example.com", "status": "active", "showInMinisite": true, "googlePlaceName": "Sede Principal - CitaPro", "googlePlaceId": "ChIJ...", "city": "Quito", "state": "Pichincha", "country": "Ecuador", "latitude": -0.1807, "longitude": -78.4678, "rating": 4.8, "position": 1, "businessAccountId": "aa0e8400-e29b-41d4-a716-446655440005" } ]}Schema de Location:
| Campo | Tipo | Descripción |
|---|---|---|
id | string | UUID |
name | string | Nombre |
address | string | Dirección |
additionalInformation | string | null | Información adicional |
phone | string | null | Teléfono |
email | string | null | |
status | string | Estado (active, inactive) |
showInMinisite | boolean | Visible en minisite |
googlePlaceName | string | null | Nombre de Google Place |
googlePlaceId | string | null | ID de Google Place |
city | string | null | Ciudad |
state | string | null | Estado/Provincia |
country | string | null | País |
latitude | number | null | Latitud |
longitude | number | null | Longitud |
rating | number | null | Calificación promedio |
position | integer | null | Posición de ordenamiento |
businessAccountId | string | UUID del negocio |