# Live Stops (/api/live-stops)

Endpoints to operate on [Stop](/docs/models/stop) resources when the plan is already optimized and therefore not writable.

All the endpoints return the field `pending`. This field indicates whether the
change has been applied to the plan or if it's pending a new optimization and distribution. On `pending = true`,
you must use the [re-optimize](/api/live-plans/reoptimizePlan) and [re-distribute](/api/live-plans/redistributePlan)
endpoints to apply the changes to the plan.

## Endpoints

- [Create a new stop](/api/live-stops/createLiveStop): `POST /plans/{planId}/stops:liveCreate`
- [Update an existing stop](/api/live-stops/updateLiveStop): `POST /plans/{planId}/stops/{stopId}:liveUpdate`
- [Batch import stops](/api/live-stops/importLiveStops): `POST /plans/{planId}/stops:liveImport`
- [Delete a stop](/api/live-stops/deleteLiveStop): `POST /plans/{planId}/stops/{stopId}:liveDelete`