Update location (v2)

Records driver location updates with a client-supplied capture timestamp. Writes a driver_by_driver ping on every call, updates the driver’s last seen, and records tracking data for all IN_PROGRESS task groups and their associated IN_TRANSIT cargos. | auth: api_key | (DriverByDriverDataPointClientCreate1) -> (DriverUpdateRes)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
locationobjectRequired

GeoJSON Feature with typed properties for locations

The geometry field is strongly typed as Geometry (union of all geometry types) but remains optional to match the base Feature class specification. To ensure geometry is always present, validate it at runtime or make it required.

schema_versionintegerRequired
timestampdatetimeRequired

Response

Successful Response
cargo_tracking_countinteger
driver_by_driver_ping_recordedboolean
driver_updatedboolean
task_group_tracking_countinteger

Errors

422
Driver Update V2request Unprocessable Entity Error