idpath · integerRequiredInteger driver ID.
Constraints
{
"type": "integer",
"minimum": 1
}Parameters, data structure and responses from the versioned contract.
/fiscal/motoristas/{id}/dados-fiscaisTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
[
{
"oauth2": []
},
{
"chaveApi": []
}
]idpath · integerRequiredInteger driver ID.
{
"type": "integer",
"minimum": 1
}Required
application/jsoncnh_numberstring | nullOptionalpattern"^\\d{11}$"cnh_categorystring | nullOptional"A" · "B" · "C" · "D" · "E" · "AB" · "AC" · "AD" · "AE"cnh_statestring | nullOptionalminLength2maxLength2cnh_issued_atstring | null · dateOptionalcnh_valid_untilstring | null · dateOptionalrg_numberstring | nullOptionalmaxLength20rg_issuerstring | nullOptionalmaxLength20rg_statestring | nullOptionalminLength2maxLength2father_namestring | nullOptionalmaxLength120mother_namestring | nullOptionalmaxLength120200 HTTP ResponseFiscal profile updated.
X-Request-IdCall correlation identifier.
401 HTTP ResponseFleetPay API key missing or invalid.
X-Request-IdCall correlation identifier.
403 HTTP ResponseFiscal scope disabled for the key, or no active carrier associated with the key.
X-Request-IdCall correlation identifier.
404 HTTP ResponseResource not found in the authenticated tenant.
X-Request-IdCall correlation identifier.
422 HTTP ResponseInvalid payload, outstanding requirement or business rule.
X-Request-IdCall correlation identifier.
429 HTTP ResponsePer-carrier limit exceeded.
X-Request-IdCall correlation identifier.
Retry-AfterSeconds until another attempt.
500 HTTP ResponseInternal failure without operational integration details.
X-Request-IdCall correlation identifier.
{
"tags": [
"Motoristas"
],
"summary": "Atualizar dados fiscais do motorista",
"operationId": "updateDriverFiscalData",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DriverFiscalInput"
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/DriverOk"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"404": {
"$ref": "#/components/responses/NotFound"
},
"422": {
"$ref": "#/components/responses/ValidationOrBusinessRuleFailed"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/InternalError"
}
},
"method": "PUT",
"path": "/fiscal/motoristas/{id}/dados-fiscais",
"parameters": [
{
"$ref": "#/components/parameters/DriverId"
}
]
}