Update Vehicle
Changed onUpdate a Vehicle. If you need to update many Vehicles at once, use the Bulk API to avoid Rate Limiting errors.
Request
- Base URLhttps://secure.fleetio.com/api
- AuthAPI key in header Authorization and API key in header Account-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The Fleetio ID of the relevant Vehicle.
You may also look up Vehicles by their VIN, license plate, or other external ID. See the guide on External Vehicle Ids for information on how to set this up.
Request body
Example request
{
"out_of_service_date": "2023-03-14T13:46:27-06:00"
}Response
OK
Example response
{
"archived_at": "2023-03-14T13:46:27-06:00",
"primary_meter_date": "2023-03-14T13:46:27-06:00",
"secondary_meter_date": "2023-03-14T13:46:27-06:00",
"in_service_date": "2023-03-14T13:46:27-06:00",
"out_of_service_date": "2023-03-14T13:46:27-06:00",
"loan_ended_at": "2023-03-14T13:46:27-06:00",
"loan_started_at": "2023-03-14T13:46:27-06:00"
}Changes
- info
added the new optional request property
- info
- breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtointegerfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtointegerfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
/response's property type changed fromstringtonumberfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtointegerfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status - breaking
the
//response's property type changed fromstringtointegerfor status - breaking
the
//response's property type changed fromstringtonumber, and format from no format tofloatfor status
- breaking