Segments

A segment represents a part of the logistics journey. A segment spans from one location to another, or to the same location if the segment is a dwelling segment.

The segments of a shipment must form a continuous chain of locations, that is the origin of a segment must match the destination of the previous segment.

Each segment of the shipment may be assigned with a different tracking device, so the trackingId can alter between segments.

Updating segment's state transitions is automated if the segment has a trackingId assigned and the locations of the segment have been assigned with geofences. Otherwise the segment's state can be updated manually by using the update segment details endpoint.