Vehicles

Update mutable vehicle fields

Patch semantics: only fields present in the body are touched. null explicitly clears a value; missing keys leave the existing value untouched. Label, insuranceDueDate, lastServiceDate, lastServiceMileage, serviceIntervalMonths, serviceIntervalDays, operationalStatus, assignedDriverName, assignedDriverContact and statusNotes are mutable. DVLA-sourced fields cannot be patched and refresh from DVLA on a server-side schedule.

patch/api/v1/vehicles/{id}

Request

  • Base URL: https://fleetkeep.co.uk
  • URL: https://fleetkeep.co.uk/api/v1/vehicles/{id}
  • Auth: OAuth 2 (authorization code, authorization URL https://fleetkeep.co.uk/auth/oauth2/authorize, token URL https://fleetkeep.co.uk/auth/oauth2/token, scopes: vehicles:write)

Request body

labelstring nullable
insuranceDueDatestring date nullable
lastServiceDatestring date nullable
lastServiceMileageinteger nullable
serviceIntervalMonthsinteger nullable
serviceIntervalDaysinteger nullable
operationalStatus'active' | 'standby' | 'in_maintenance' | 'off_road' | 'sold_or_removed'
assignedDriverNamestring nullable
assignedDriverContactstring nullable
statusNotesstring nullable

Response

Patch applied

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.