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

Changes