v1

latestOpenAPI 3.0.32026-07-1712913.3 KB

Update vehicle

Updates an existing vehicle. All fields are optional; only provided fields are updated.

put/vehicles/{id}

Request body

makestring
modelstring
yearinteger
fuel_tank_capacitynumber double

Response

Vehicle updated successfully

idinteger

Vehicle identifier

makestring nullable
modelstring nullable
yearinteger nullable
fuel_tank_capacitynumber double nullable

Maximum fuel capacity in liters