Skip to content
TrackSafe365
v1.0 Dashboard →
PUT /trucks Beta

Update Truck

Full replacement of a truck record. The target is identified by the id in the request body — there is no id path parameter on this endpoint.

Parameters

Name In Type Description
id * body integer Id of the truck to update. e.g. 1
model * body string Vehicle model. 1–250 characters. e.g. Cascadia
make * body string Manufacturer. 1–250 characters. e.g. Freightliner
unitNumber * body string Fleet unit number. 1–250 characters. e.g. 1042
vin * body string Vehicle Identification Number. 12–17 characters. e.g. 1FUJGLDR9CSBP1234
year * body integer Model year (e.g. 2022). e.g. 2022
active * body boolean Whether the truck is active in the fleet. truefalse
licensePlateNo * body string License plate number. e.g. TX-8842156
licensePlateIssueDate * body string Plate issue date (ISO 8601 date-time). e.g. 2024-03-01T00:00:00Z
licensePlateIssuingState * body string Issuing state — exactly 2 characters. e.g. TX
fuelType * body string Fuel type. DIESELGASOLINECNGLNGELECTRICHYBRID
vehicleType body string Vehicle class. Optional. TRACTORBOX_TRUCKVANTRAILERPICKUP
note body string Free-form note. e.g. Lane 4 long-haul tractor
integrationVin body string VIN as supplied by an upstream integration. e.g. 1FUJGLDR9CSBP1234

Response

Status: Beta. Try the request in the panel on the right to see a live response.