depot
A depot
represents the start or end location of a route. Depots are useful for identifying route start and end locations by ID.
If you do not need to identify your depots by ID, then it is recommended that you use route.location instead.
Name | Type | Description |
---|---|---|
custom | custom | User-supplied custom fields that are returned unmodified in the response. These have no effect on optimization. |
id | id | The unique ID of the depot. |
location | marker or id | The location of the depot, or the id of a marker defined elsewhere in the request. |
Example
{
"id": "depot0",
"location": "-43.549062, 172.642059",
}
See Also
- The route type.
- The route.start_depot, route.end_depot and route.depot fields.