---
title: "Update vehicle"
method: PUT
path: "/Vehicle"
tags: ["Vehicle"]
---

# Update vehicle

`PUT /Vehicle`

## Request body

- UpdateVehicle
  - `Id` integer — Track-POD unique identifier
  - `Number` string, nullable — Required (*) Number
  - `CarrierCode` string, nullable — Carrier Code
  - `Carrier` string, nullable — Carrier
  - `Weight` number, double, nullable — Capacity Weight
  - `Volume` number, double, nullable — Capacity Volume
  - `Pallets` number, double, nullable — Capacity Pallets
  - `DriverId` string, uuid, nullable — Required (*) Driver's Track-POD unique identifier (DriverId or DriverUsername is Required)
  - `DriverUsername` string, nullable — Required (*) Driver's username (DriverId or DriverUsername is Required)
  - `DepotId` string, nullable — Required (*) Unique identifier in user accounting system (DepotId or Depot is Required)
  - `Depot` string, nullable — Required (*) Depot address (DepotId or Depot is Required)
  - `MaxNodes` integer, nullable — Maximum number of sites/orders
  - `MaxWorkTime` integer, nullable — Maximum work time, h
  - `MaxDistance` integer, nullable — Maximum distance, km
  - `SpeedRatio` number, double, nullable — Speed ratio restriction (should be grater than 0 and less or equal 2)
  - `CostPerDistance` number, double, nullable — Cost per distance (km)
  - `CostPerHour` number, double, nullable — Cost per hour
  - `BaseFare` number, double, nullable — Base fare
  - `StartTime` string, date-span, nullable — Start time
  - `VehicleType` integer, nullable — Vehicle type: 0 - Truck/Car, 1 - Motorcycle, 2 - Bicycle
  - `EmissionCo2` integer, nullable — Vehicle emission g/km or g/mile
  - `VehicleCheckListId` string, uuid, nullable — Vehicle check list identifier

## Response `202`

Vehicle was updated successfully

- ApiResponse — Object for all API responses, except GET (status code: 200)
  - `Status` integer, nullable — The HTTP status code for the response
  - `Title` string, nullable — A short, human-readable summary of the response
  - `Detail` string, nullable — A human-readable explanation specific to this response.

## Other responses

- `400` — One or more validation errors
- `401` — Unauthorized. Invalid X-API-KEY in the request header
- `404` — Not found. Vehicle, Carrier, Driver or Vehicle check list not found
- `415` — Unsupported Media Type. Invalid Content-Type in the request header. Must be application/json or application/xml
- `429` — Too Many Requests. Rate limit is 20 requests/sec and 400 requests/min
- `500` — Internal Server Error

---

[API](https://skmtc.net/track-pod/apis/track-pod-api.md) · [All operations](https://skmtc.net/track-pod/apis/track-pod-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/track-pod/track-pod-api/revisions/833e05afe46e/schema)
