---
title: "Update a route state"
method: PUT
path: "/v1/resourceowner/routeplanner/route/{routeId}"
tags: ["ResourceOwnerRoutePlanner"]
---

# Update a route state

`PUT /v1/resourceowner/routeplanner/route/{routeId}`

## Request

- Base URL: `https://api.automile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.automile.com/v1/resourceowner/routeplanner/route/{routeId}`
- Auth: OAuth 2
  - Implicit: `https://api.automile.com/login/`

Only tasks that belongs to the user has access to will be returned.

## Path parameters

- `routeId` integer, required

## Request body

- UpdateStopModel[]
  - `RouteStopId` integer
  - `Status` 0 | 1 | 3
  - `DriverNotes` string

## Response `200`

The stop was updated

## Other responses

- `403`: Not authorized to task
- `500`: Internal server error

---

[API](https://skmtc.dev/automile/apis/automile-api.md) - [All operations](https://skmtc.dev/automile/apis/automile-api/llms.txt) - [OpenAPI document](https://skmtc.dev/automile/apis/automile-api/revisions/56b5b8d6d733?raw)
