Skip to main content
GET
Get order tracking
Required scope: orders:read. The request is safe to retry. The response contains one tracking entry for each vehicle. When position is present, show position.point on a map with its observed_at time. A driver booking does not start tracking; the state stays not_started until the driver starts to travel to pickup. Poll every 30 to 60 seconds while a map is visible. Send the returned ETag in If-None-Match; 304 means that nothing changed. The ETA is in the order, not in this response. Read Live tracking for the states and the pickup approach.

Authorizations

Authorization
string
header
required

OAuth 2.0 client credentials.

Scopes

orders:read

Read customer orders.

Headers

X-Request-Id
string

A caller-supplied request identifier for support.

Required string length: 1 - 255
If-None-Match
string

The last location revision that the caller received.

Path Parameters

order_id
string
required

The order identifier. Stable Bahn order identifier used in every order resource path.

Pattern: ^ord_[a-z0-9]+$

Response

The current tracking snapshot.

Current map and pickup-approach state for every vehicle in an order.

order_id
string
required

Order represented by this tracking snapshot.

Pattern: ^ord_[a-z0-9]+$
status
enum<string>
required

Current overall order status.

Available options:
accepted,
driver_assigned,
in_transit,
delivered,
cancelled
items
object[]
required

One tracking entry for each order item.

Minimum array length: 1
revision
string
required

Opaque snapshot revision used as the tracking ETag.