Bodegas
Permite consultar las bodegas disponibles en la API.
Endpoints
Section titled “Endpoints”Obtener todas las bodegas
Section titled “Obtener todas las bodegas”GET /warehouses
Parámetros de consulta:
query: Parámetros de filtrado y ordenamiento (opcional)
[ { "id": "e8a82367-cc00-4c1a-b072-5464c4cf375b", "deletedAt": null, "createdAt": "2026-03-04T21:38:02.417Z", "updatedAt": "2026-03-16T14:39:21.335Z", "taxpayerId": "3af65bbd-c586-468c-93ba-c8853ec786c5", "tenantId": "bd8574d1-c94d-4e38-85fa-3b6512098c2b", "name": "Predeterminado", "location": "Predeterminado", "isMain": true }]Filtros
Section titled “Filtros”| Campo | Operador | Ejemplo |
|---|---|---|
| name | like | GET /warehouses?query=filter.name__like=principal |
| location | like | GET /warehouses?query=filter.location__like=quito |
| isMain | eq | GET /warehouses?query=filter.isMain__eq=true |
Obtener una bodega por ID
Section titled “Obtener una bodega por ID”GET /warehouses/{id}
Parámetros de URL:
id: ID de la bodega a buscar
{ "id": "e8a82367-cc00-4c1a-b072-5464c4cf375b", "deletedAt": null, "createdAt": "2026-03-04T21:38:02.417Z", "updatedAt": "2026-03-16T14:39:21.335Z", "taxpayerId": "3af65bbd-c586-468c-93ba-c8853ec786c5", "tenantId": "bd8574d1-c94d-4e38-85fa-3b6512098c2b", "name": "Predeterminado", "location": "Predeterminado", "isMain": true}