Get last location

Returns the most recent device location data point for cargo within a task group. Access granted to courier or shipper organization.

Authentication

AuthorizationBearer

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

Query Parameters

cargo_idstringRequired
task_group_idstringRequired

Response

Successful Response
schema_versioninteger
timestampstringformat: "date-time"
metadataobject
locationobject

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.

_idstring
temperaturedouble or null

Errors