Update a vehicle
Replaces a vehicle entry with the values you send and returns it. Every field is overwritten, so anything you leave out is cleared. Requires the rental_applications:write permission.
Authorization
AuthorizationstringrequiredPath parameters
applicationIdstringrequiredThe rental application to work with. A Snowflake id, sent as a decimal string.
idstringrequiredThe vehicle entry to work with. A Snowflake id, sent as a decimal string.
Body
application/json
Send the entry in full — this is a replace, not a merge.
carMakestringManufacturer. At most 250 characters.
modelstringModel name. At most 250 characters.
yearintegerModel year.
licensePlatestringRegistration plate. At most 50 characters.
stateRegistrationstringState or region the vehicle is registered in. At most 100 characters.
colorstringColour. At most 100 characters.
commentstringFree-text note. At most 500 characters.
Response
200 · The updated vehicle entry.
idstringThe vehicle entry.
carMakestringManufacturer, for example "Toyota".
modelstringModel name.
yearintegerModel year.
licensePlatestringRegistration plate.
stateRegistrationstringState or region the vehicle is registered in.
colorstringColour.
commentstringFree-text note stored with the entry.
createdstring · date-timeWhen the entry was added, in the company's timezone.
updatedstring · date-timeWhen the entry was last changed, in the company's timezone.
401 · The access token is missing, expired, or not valid.
403 · The caller is authenticated but does not hold the `rental_applications:write` permission.
404 · No vehicle entry with this id exists on this rental application, or the rental application itself was not found.
This is not gated on the application's status — it works on a draft, on a submitted application, and on a retracted one. Only the applicant-facing portal locks an application once it is submitted.