Skip to main content
POST
Update Vehicle Odometer

Overview

Updates odometer for a vehicle (legacy id). Rejects zero odometer.
A V2 version of this endpoint is available: Update odometer. New integrations should prefer V2.

Endpoint

POST /api/ChangeOdometer

Authentication

Required. Bearer token. Requires vehicle access and privilege ChangeOdometer.

Query parameters

integer
required
Legacy vehicle id.
number (float)
required
New odometer reading (must not be 0).

Response

200 OK with empty body on success.

Error responses

cURL

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from POST /api/authentication/token/user or POST /api/authentication/token/api-key.

Lifetime: ~24 hours (86,399 seconds). Cache the token and reuse it. Re-authenticate 5 minutes before expiry.

Scoping:

  • User tokens are scoped to a single company.
  • API key tokens may restrict access to a vehicle allowlist and/or action set (see token claims).

No refresh endpoint — re-authenticate with your credentials when the token expires.

Headers

Content-Type
string

Standard and must keep as it is.

Authorization
string
required

Bearer your_token

Query Parameters

id
integer
required

Vehicle ID.

odometer
number
required

Odometer value.

Response

Successful response

The response is of type object.