Update a fleet item
Applies atomic, partial updates to a specific fleet item using the JSON Patch specification (RFC 6902).
Identifiers:
Accepts either a fleet item ID or an external identifier. Any value that is not a fleet item ID is treated as an external identifier and matched as stored (usually consumer-scope:consumer-id; legacy values may have no scope).
Idempotency-Key:
Required. A unique client-generated key that ensures duplicate requests produce the same result. Include this header to safely retry requests without risking duplicate operations. Requests without it return 400.
If-Match:
Required containing the current ETag to enforce optimistic concurrency control.
Supported Patch Paths:
Only modifications to the following paths are permitted. Paths are case-sensitive and must match exactly as listed (e.g. /fuelType, not /fueltype); any other path returns 422.
- Core Data:
/name,/notes,/fuelType,/size - External ID:
/externalIds/-(add, only when no external ID is set) or/externalIds/0(replace), value formatconsumer-scope:consumer-id, single value. A fleet item has at most one external ID, so the index is not used; if several external ID operations are sent, only the last one is applied. The whole-array path/externalIdsis not supported. - Group Assignment:
/primaryGroup— object:{ "externalIds": ["external group ID"] }, single value - Vehicle/Asset Data:
/vin,/manufacturer,/manufacturerModel,/manufactureYear - Registration Data:
/registrationNumber,/registrationType
Operational Data (vehicles and powered assets only; non-powered assets return 400):
/engineHours: The value must be provided in minutes. Requires an accompanying/asOfoperation./odometerCurrentValue: Requires an accompanying/asOfoperation./asOf: The date and time the reading was taken, sent withaddorreplace. Must be within the last 30 days and not in the future, otherwise 400.
Supported Operations:
replace: Update the value at the specified path (all supported paths).add: Set a value at the specified path (all supported paths). For/externalIdsuse/externalIds/-.remove: Not supported. Returns 422 on any path.
Examples:
PATCH /v1/fleet-items/01945a3b-7c8d-7e9f-a0b1-c2d3e4f5a6b7(fleet item ID)PATCH /v1/fleet-items/telematics:VH-12345(external identifier)
Path Parameters
Fleet item identifier — either a fleet item ID or an external identifier, matched as stored (usually consumer-scope:consumer-id; legacy VehicleNumber or AssetNumber values may have no scope)
Headers
A unique key to ensure the request is processed at most once.
The ETag value from a previous GET, used for optimistic concurrency control.
Body
Body
The list of JSON Patch operations to apply.
JsonPatchOperations
Represents a single JSON Patch operation per RFC 6902.
The operation type. Supported: replace, add. remove is not supported and returns 422. RFC 6902 uses op as the JSON field name.
Example:replace
The target path for the operation (e.g. /name, /vin).
Example:/name
The value for the operation. Required for replace, add.
Example:Fleet Van 042-B
Response
application/json
Response
The fleet item was successfully updated.
PostFleetItemResponse
objectAllowed values:12
Allowed values:123
Allowed values:123
FleetDetailedOutput
objectComplete representation of a fleet item (vehicle, powered asset, or non-powered asset) returned by the GET /v1/fleet-items/{fleetItemId} endpoint.
Unique public identifier for the fleet item.
Display name or label assigned to the fleet item (e.g. vehicle call-sign or asset tag).
Current lifecycle state of the fleet item (ACTIVE or INACTIVE).
Allowed values:ACTIVEINACTIVE
Type of fleet item: VEHICLE, POWERED_ASSET, or NON_POWERED_ASSET.
Allowed values:VEHICLENON_POWERED_ASSETPOWERED_ASSET
Operational cost associated with the fleet item, in the account’s configured currency. Always null for non-powered assets.
Entity tag for optimistic concurrency control. Include this value in the If-Match header when performing PATCH updates.
An external identifier used to map this Reveal entity to your consumer systems. This field combines the older vehicleNumber and assetNumber fields into a single unique identifier, offering a broader capability that handles both vehicles and assets within a unified property. Values set through this API use the format consumer-scope:consumer-id (e.g. telematics:VH-12345); older values imported from vehicleNumber or assetNumber may have no scope.
Match pattern:^[^\n]{1,120}$
<= 1 items
Example:telematics:VH-12345
Free-text notes or comments attached to the fleet item by an administrator.
Vehicle Identification Number (VIN) — a unique 17-character code assigned by the manufacturer. Applicable to vehicles only.
Name of the vehicle or asset manufacturer (e.g. “Ford”, “Caterpillar”).
Manufacturer’s model designation (e.g. “Transit”, “320F”).
Year the vehicle or asset was manufactured.
Electronic Serial Number identifying the telematics device installed in the fleet item.
Fuel type used by the vehicle: NOT_SET, UNLEADED, DIESEL, or ELECTRIC.
Allowed values:NOT_SETUNLEADEDDIESELELECTRIC
Weight classification of the vehicle: LIGHT, MEDIUM, HEAVY, or SUPER_HEAVY.
Allowed values:LIGHTMEDIUMHEAVYSUPER_HEAVY
Government-issued registration or license plate number.
Numeric code representing the type of vehicle registration (jurisdiction-specific).
An operational metric associated with a fleet item (fuel capacity or efficiency).
Show Child Parameters
HATEOAS navigation links for related resources and actions.
Show Child Parameters
FleetItemMetric
objectAn operational metric associated with a fleet item (fuel capacity or efficiency).
Name of the metric: fuelCapacity, cityEfficiency or highwayEfficiency. For electric vehicles these carry battery capacity and kWh-based efficiency.
Current value of the metric, represented as a string regardless of underlying type.
Data type of the metric value: STRING, NUMBER, BOOLEAN, GUID, or DATE.
Allowed values:STRINGNUMBERBOOLEANGUIDDATE
FleetItem
objectA fleet item returned by the POST /v1/fleet-items/search endpoint. When the request’s fields array is set, only the requested properties are present; when it is omitted or empty, every property is returned.
Unique public identifier for the fleet item.
Entity tag for optimistic concurrency control. Include this value in the If-Match header when performing PATCH updates. Only returned when fields is omitted or empty.
Display name or label assigned to the fleet item (e.g. vehicle call-sign or asset tag).
Government-issued registration or license plate number.
Type of fleet item: VEHICLE, POWERED_ASSET, or NON_POWERED_ASSET.
Allowed values:VEHICLENON_POWERED_ASSETPOWERED_ASSET
Name of the vehicle or asset manufacturer (e.g. “Ford”, “Caterpillar”).
Manufacturer’s model designation (e.g. “Transit”, “320F”).
Year the vehicle or asset was manufactured.
Vehicle Identification Number (VIN) — a unique 17-character code assigned by the manufacturer. Applicable to vehicles only.
Electronic Serial Number identifying the telematics device installed in the fleet item.
Fuel type used by the vehicle: NOT_SET, UNLEADED, DIESEL, or ELECTRIC.
Allowed values:NOT_SETUNLEADEDDIESELELECTRIC
Weight classification of the vehicle: LIGHT, MEDIUM, HEAVY, or SUPER_HEAVY.
Allowed values:LIGHTMEDIUMHEAVYSUPER_HEAVY
Free-text notes or comments attached to the fleet item by an administrator.
An array containing at most one external identifier used to map this Reveal entity to your consumer systems. External IDs set through this API use the format consumer-scope:consumer-id (e.g. telematics:VH-12345); older values imported from vehicleNumber or assetNumber may have no scope.
An operational metric associated with a fleet item (fuel capacity or efficiency).