Orders

Get estimated route polyline

Retrieve the route polyline for an estimated route by its ID.

The `estimated_route_id` is provided in `eta_change` and `eta_change_v2` webhooks.
Use this endpoint to fetch the route polyline that was used for the ETA calculation.

The response includes:
- The route polyline as a GeoJSON LineString
- Start and end locations
- Total distance (meters) and duration (seconds) of the route
get/orders/estimated-routes/{estimated_route_id}

Request

Path parameters

estimated_route_idstring required

Response

Successful response

estimated_route_idstring required

The unique identifier for this estimated route

distanceinteger nullable

Total distance of the route in meters

durationinteger nullable

Estimated duration of the route in seconds

Changes

No recorded changes to this operation across all 1 revision of this API.