user*, permissionGroupId, languageId e timeZoneId alteram o usuário principal do cliente.permissionGroup, occurrenceSetting, alarmSetting, language, timeZone e customerCnpj vêm null.permissionGroupId precisa ser um grupo do tipo Cliente. userEmail é único (422). Campos enviados como null não limpam o valor atual.languageId inexistente → 400 com {"error": "language_id inválido: <id>"}.curl --location --request PUT 'https://api.cloud-services.yuv.com.br/customer/45' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"customerName": "Transportadora Exemplo LTDA",
"customerIsEnabled": true,
"customerPhone": "(11) 98888-0000"
}'{
"data": {
"customerId": 45,
"customerName": "Transportadora Exemplo",
"customerEmail": "maria@exemplo.com.br",
"customerIsEnabled": true,
"permissionGroup": null,
"occurrenceSetting": null,
"customerCnpj": null,
"customerZipCode": "01310-100",
"customerAddress": "Av. Paulista, 1000",
"customerComplement": null,
"customerNeighborhood": null,
"customerCity": "São Paulo",
"customerState": null,
"customerPhone": "(11) 99999-0000",
"customerObservation": null,
"customerStreamingLimit": 5,
"occurrenceSettingId": null,
"alarmSettingId": null,
"alarmSetting": null,
"customerCreatedAt": "2025-05-20T12:00:00Z",
"customerUpdatedAt": "2025-05-20T12:00:00Z",
"userId": 120,
"userName": "Maria Souza",
"userIsEnabled": true,
"userTypeId": 4,
"permissionGroupId": 1,
"languageId": 1,
"language": null,
"timeZoneId": 13,
"timeZone": null
}
}