---
metadata:
  - name: generator
    content: Diplodoc Platform v5.19.6
alternate:
  - https://docs.routeq.com/doc/en/vrp/routing-mode.md
title: RouteQ — properties and options — routing modes
---
> **Documentation Index:** Fetch the complete configuration index at https://docs.routeq.com/doc/en/llms.txt


# Transportation method

When building a route, RouteQ uses default routing for couriers traveling by car or truck. However, couriers often use other means of transportation, such as public transport. In other situations, keep in mind that different routes may be optimal for couriers in trucks and passenger vehicles.

You can select the couriers' mode of transportation using the parameter `options.routing_mode`.

{% include [routing-mode-values](_includes/values-d37262093c6f.md) %}

The parameter specified this way is used for all vehicles in the task. If the couriers have different delivery methods, you can set them up using the [vehicle parameter](https://docs.routeq.com/doc/en/vrp/properties-of-vehicles.md#routing-mode) `vehicle.routing_mode`.

{% include [routing-mode-priority](_includes/priority-7e2156cc5491.md) %}

**Example 1**

The example below uses the `transit` transportation method for all couriers. In the result, couriers deliver orders using public transit with the optimal order allocation.

[API request (JSON)](https://courier.yandex.ru/vrs/api/v1/log/request/821db8c8-61eaec13-22c23cc0-7e7fc3ba) ⋅ [API response](https://courier.yandex.ru/vrs/api/v1/result/821db8c8-61eaec13-22c23cc0-7e7fc3ba) ⋅  [View on map](https://yandex.com/courier/mvrp-map#821db8c8-61eaec13-22c23cc0-7e7fc3ba)

{% note info %}

For the built routes, the mileage is specified only for the distances that couriers walk. The distances traveled in public transport are taken into account for optimization purposes, but are not counted in metrics.

{% endnote %}

**Example 2**

The example below uses the `transit` travel method for one courier and the `driving` method for another courier. Orders are distributed among couriers so that the vehicle delivers to points further away from public transit stops or from each other.

[API request (JSON)](https://courier.yandex.ru/vrs/api/v1/log/request/378591de-513421d5-180c6c05-d97e970d) ⋅ [API response](https://courier.yandex.ru/vrs/api/v1/result/378591de-513421d5-180c6c05-d97e970d) ⋅  [View on map](https://yandex.com/courier/mvrp-map#378591de-513421d5-180c6c05-d97e970d)

{% include [warehouse-feedback](_includes/feedback-81845556eeea.md) %}
