idpath · integerRequiredInteger vehicle ID.
Constraints
{
"type": "integer",
"minimum": 1
}Parameters, data structure and responses from the versioned contract.
/fiscal/veiculos/{id}/dados-fiscaisTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
[
{
"oauth2": []
},
{
"chaveApi": []
}
]idpath · integerRequiredInteger vehicle ID.
{
"type": "integer",
"minimum": 1
}Required
application/jsonbrandstring | nullOptionalmaxLength40modelstring | nullOptionalmaxLength60vehicle_kindinteger | nullOptional1 · 2axlesinteger | nullOptionalminimum1maximum255km_per_liter_modelnumber | nullOptionalminimum0maximum999.99km_per_liter_vehiclenumber | nullOptionalminimum0maximum999.99tare_kginteger | nullOptionalminimum1maximum999999wheel_typestring | nullOptional"01" · "02" · "03" · "04" · "05" · "06"body_typestring | nullOptional"00" · "01" · "02" · "03" · "04" · "05"owner_iestring | nullOptionalmaxLength20owner_statestring | nullOptionalminLength2maxLength2200 HTTP ResponseVehicle 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": [
"Veículos"
],
"summary": "Atualizar dados fiscais do veículo",
"operationId": "updateVehicleFiscalData",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VehicleFiscalInput"
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/VehicleOk"
},
"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/veiculos/{id}/dados-fiscais",
"parameters": [
{
"$ref": "#/components/parameters/VehicleId"
}
]
}