Skip to main content
PUT
/
v2
/
vehicles
/
{ID}
/
Update
curl --request PUT \
  --url https://api.app.fleetit.com/v2/vehicles/{ID}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "plate_number": "00395C3",
  "plate_state": "CA",
  "vehicle_make": "Ford1",
  "vehicle_model": "F-250 Super Duty2",
  "year": "2025",
  "vehicle_number": "1FT7W2BN6LEE69408MMM",
  "vehicle_type_code": "520_520",
  "custom_fields": {
    "Location": "test",
    "Equipment Number": "",
    "Trial_added": "",
    "Tracking": ""
  }
}'
{
  "id": 128,
  "plate_number": "00395C3",
  "plate_state": "CA",
  "vehicle_number": "1FT7W2BN6LEE69408MMM",
  "vehicle_make": "Ford1",
  "vehicle_model": "F-250 Super Duty2",
  "year": "2025",
  "lessee_renter": null,
  "custom_fields": {
    "Location": "test",
    "Equipment Number": "",
    "Trial_added": "",
    "Tracking": ""
  },
  "vehicle_type_code": "520_520",
  "added_date": "2023-04-11T18:00:36.488727-04:00",
  "fleet": {
    "id": 1,
    "region_details": [
      {
        "id": 1,
        "title": "Washington"
      },
      {
        "id": 2,
        "title": "California"
      },
      {
        "id": 3,
        "title": "Texas"
      },
      {
        "id": 4,
        "title": "Colorado"
      },
      {
        "id": 5,
        "title": "E-Z PASS"
      }
    ],
    "title": "FleetIT Demo",
    "is_active": true,
    "billing_type": "POSTPAID",
    "onboarding_stage": "COMPLETED",
    "warning_threshold_per_vehicle": null,
    "deactivation_threshold_per_vehicle": null,
    "client": null,
    "onboarding_vehicle_order": null
  },
  "active": true
}
Plate number and plate state cannot be updated after vehicle creation.
Custom fields are set at the fleet level by FleetIT. You can update the values of existing custom fields, but you cannot create new custom field names or modify the field structure.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Fleet-Id
string

Path Parameters

ID
string
required

Body

application/json
vehicle_make
string

Vehicle manufacturer name.

vehicle_model
string

Vehicle model name.

year
string

Manufacturing year (1000 to current year + 100). Numeric digits only.

vehicle_number
string

VIN or custom vehicle identifier (max 20 characters, any format allowed).

Maximum length: 20
lessee_renter
string

Name of the person or entity leasing/renting the vehicle.

active
boolean

Vehicle status.

custom_fields
object

Custom fields for the vehicle. Custom fields are set at the fleet level by FleetIT. You can only update the values, not the field names.

Example:
{
"Location": "test",
"Equipment Number": "",
"Trial_added": "",
"Tracking": ""
}
vehicle_type_code
string

Vehicle type code for classification.

Response

200 - application/json

Successful response

id
number
Example:

128

plate_number
string
Example:

"00395C3"

plate_state
string
Example:

"CA"

vehicle_number
string
Example:

"1FT7W2BN6LEE69408MMM"

vehicle_make
string
Example:

"Ford1"

vehicle_model
string
Example:

"F-250 Super Duty2"

year
string
Example:

"2025"

lessee_renter
string | null
Example:

null

custom_fields
object

Custom fields for the vehicle with their current values.

Example:
{
"Location": "test",
"Equipment Number": "",
"Trial_added": "",
"Tracking": ""
}
vehicle_type_code
string
Example:

"520_520"

added_date
string<date-time>
Example:

"2023-04-11T18:00:36.488727-04:00"

fleet
object
active
boolean
Example:

true

I