Intermediate waypoints are the non-terminal waypoints that make up a route. You
configure them using the `intermediates` request field. By default, intermediate
waypoints are used for stopping to pickup and drop-off, but you can specify that
an intermediate waypoint is meant just for passing through.

> [!NOTE]
> **Note:** A route that contains an origin waypoint, a pass-through intermediate waypoint, and a destination waypoint, will contain just one route leg---that connects the origin and the destination, while passing through the intermediate via waypoint.

## Configuring a pass-through waypoint

You can configure an intermediate waypoint to be a pass-through waypoint by
setting the
[`via`](https://developers.google.com/maps/documentation/routes_preferred/reference/rest/v1alpha/TopLevel/computeRoutes.md.txt#Waypoint.FIELDS.via)
field.

## Example

The following example demonstrates how to mark an intermediate waypoint as a
pass-through waypoint.

```
{
  "via": true,
  "location": {
    "latLng": {
      "latitude":37.419734,
      "longitude":-122.0827784
    }
  }
}
```