How to: Update a Vehicle

For information about prerequisites, see Creating Vehicle.

The Update Vehicle call has the same required request body members as a Create Vehicle call and replaces the resource at the server.

To update information associated with a Vehicle, call the Update Vehicle endpoint. Use the Vehicle ID in the {vehicleId} path parameter and pass a request body similar to the following:

  "vehicleName": "Semi Truck",
  "vehicleCode": "MH01A1000",
  "vehicleOwnerId": "participant:b03369f6-9d60-4f6e-bc06-2dd2e74d9ea1",
  "vehicleCategory": "Truck",
  "vehicleSubCategory": "Semi-truck",
  "vehicleOwnership": "self",
  "vehicleMode": "Land",
  "fuelType": "Petrol",
  "regnNo": "MH 01 AA 1000",
  "regnYear": 2020,
  "vehicleStructure": "Single-unit",
  "cargoArea": 100,
  "payloadCapacity": 100,
  "operatorId": "ID",
  "availability": {
    "days": [
  "ownerDetails": {
    "name": "John Doe",
    "contact": "8382372232"
  "serviceability": {
    "cities": [
      "Delhi" ]
  "reportingCenter": "facilities:4d6e7125-aaa3-4ea1-9fd4-44c4f1cad179"