Vehicles
Update a vehicle
Changes only the fields in the request. Either all of them are changed or none. See VehicleUpdate for how to clear a field.
patch/v1/locations/{locationId}/vehicles/{vehicleId}
Request
- Base URL: https://api.cliento.com
- URL: https://api.cliento.com/v1/locations/{locationId}/vehicles/{vehicleId}
- Auth: HTTP bearer
Path parameters
locationIdstring required
vehicleIdstring required
Headers
Idempotency-Keystring
A value you make up for this one request, such as a UUID. Send the same value when you retry and the first answer is returned; see Retrying safely.
Request body
Example request
{
"description": "The red van",
"registrationNumber": "ABC123"
}Response
OK
Example response
{
"colour": "Red",
"description": "The red van",
"externalReference": "crm-88121",
"id": "veh_3Ks7pQx2Wn9Tb4Vd6HyRcE",
"locationId": "loc_4fK9xQ2mLr8TzB1vNc7HdW",
"make": "Volvo",
"model": "V60",
"modelYear": 2021,
"registrationNumber": "ABC123"
}Changes
No recorded changes to this operation across all 1 revision of this API.