Retrieve a specific user by ID. Accessible by ADMIN, self, or VENTANA (for their vendedores).
cURL
curl --request GET \ --url https://api.example.com/api/v1/users/:id
{ "success": true, "data": { "id": "770e8400-e29b-41d4-a716-446655440000", "name": "Juan Pérez", "username": "jperez", "email": "[email protected]", "phone": "8091234567", "role": "VENDEDOR", "ventanaId": "660e8400-e29b-41d4-a716-446655440000", "code": "V001", "isActive": true, "settings": { "print": { "name": "Mobile Printer", "phone": "8091234567", "width": 58, "footer": "Gracias por su compra", "barcode": true, "bluetoothMacAddress": "12:34:56:78:90:AB" }, "theme": "dark", "system": { "notifications": true, "language": "es" } }, "platform": "android", "appVersion": "2.0.7", "deletedAt": null, "deletedBy": null, "deletedReason": null, "createdAt": "2024-03-15T12:00:00Z", "updatedAt": "2024-03-15T14:30:00Z" } }
restrictToAdminSelfOrVentanaVendor
Show User object