Update an existing ventana. Accessible by ADMIN or the ventana user themselves.
cURL
curl --request PATCH \ --url https://api.example.com/api/v1/ventanas/:id \ --header 'Content-Type: application/json' \ --data ' { "bancaId": "<string>", "name": "<string>", "code": "<string>", "username": "<string>", "password": "<string>", "commissionMarginX": 123, "address": "<string>", "phone": "<string>", "email": "<string>", "isActive": true, "settings": {} } '
{ "success": true, "data": { "id": "660e8400-e29b-41d4-a716-446655440000", "bancaId": "550e8400-e29b-41d4-a716-446655440000", "name": "Ventana Norte - Updated", "code": "VN001", "commissionMarginX": 2.0, "address": "789 North Avenue - New Location", "phone": "+1-234-567-8911", "email": "[email protected]", "isActive": true, "settings": { "print": { "width": 88, "barcode": true }, "theme": "dark" }, "createdAt": "2024-03-15T11:00:00Z", "updatedAt": "2024-03-15T15:30:00Z" } }
Show Ventana object