# Stops (/api/v0.2b/stops)

Endpoints to operate on [Stop](/docs/models/stop) resources.

For any [Plans](/docs/models/plan) created before 2023-04-01 the stop
collections and all related operations will not be available.

For any operations here you will need a Plan ID beforehand. You can retrieve an
existing Plan by [listing your Plans](/api/v0.2b/plans/listPlans) or you can
[create a new one](/api/v0.2b/plans/createPlan).

## Endpoints

- [List stops](/api/v0.2b/stops/listStops): `GET /plans/{planId}/stops`
- [Create a new stop](/api/v0.2b/stops/createStop): `POST /plans/{planId}/stops`
- [Batch import stops](/api/v0.2b/stops/importStops): `POST /plans/{planId}/stops:import`
- [Retrieve a stop](/api/v0.2b/stops/getStop): `GET /plans/{planId}/stops/{stopId}`
- [Update an existing stop](/api/v0.2b/stops/updateStop): `PATCH /plans/{planId}/stops/{stopId}`
- [Delete a stop](/api/v0.2b/stops/deleteStop): `DELETE /plans/{planId}/stops/{stopId}`