Routes Preferred API is currently available only to select customers. Contact sales to learn more.

Use Intermediate Waypoints

Stay organized with collections Save and categorize content based on your preferences.

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.

Configuring a pass-through waypoint

You can configure an intermediate waypoint to be a pass-through waypoint by setting the via field.

Example

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

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