PATCH
/
v2
/
vehicles
/
bulk
curl --request PATCH \
  --url https://api.app.fleetit.com/v2/vehicles/bulk/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "vehicle_make": "Toyota",
    "vehicle_model": "Corolla",
    "year": "2021",
    "plate_number": "UPDATE001",
    "plate_state": "NY",
    "tracking_code": "TRACK001",
    "lessee_renter": "",
    "custom_fields": {
      "cost_center": "Cost Center 22"
    },
    "active": true
  },
  {
    "vehicle_make": "Toyota",
    "vehicle_model": "Corolla",
    "year": "2023",
    "plate_number": "UPDATE002",
    "plate_state": "NY",
    "tracking_code": "TRACK002",
    "lessee_renter": "",
    "custom_fields": {
      "cost_center": "Cost Center 111"
    },
    "active": true
  },
  {
    "vehicle_make": "Toyota",
    "vehicle_model": "Corolla",
    "year": "2021",
    "plate_number": "UPDATE003",
    "plate_state": "NY",
    "tracking_code": "TRACK003",
    "lessee_renter": "",
    "active": true
  }
]'
[
  {
    "id": 73029588,
    "plate_number": "UPDATE001",
    "plate_state": "NY",
    "vehicle_number": "TRACK001",
    "active": true,
    "vehicle_make": "Toyota",
    "vehicle_model": "Corolla",
    "year": "2021",
    "lessee_renter": "",
    "custom_fields": {
      "cost_center": "Cost Center 22"
    }
  }
]
Note: 500 is the maximum allowed limit for bulk.

Authorizations

Authorization
string
header
required

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

Headers

Fleet-Id
string

Body

application/json · object[]

The body is of type object[].

Response

200 - application/json
OK

The response is of type object[].