# Stops (/api/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/plans/listPlans) or you can
[create a new one](/api/plans/createPlan).

## Endpoints

- [Create a new stop](/api/stops/createStop): `POST /plans/{planId}/stops`
- [Batch import stops](/api/stops/importStops): `POST /plans/{planId}/stops:import`
- [Retrieve a stop](/api/stops/getStop): `GET /plans/{planId}/stops/{stopId}`
- [Update an existing stop](/api/stops/updateStop): `PATCH /plans/{planId}/stops/{stopId}`
- [Delete a stop](/api/stops/deleteStop): `DELETE /plans/{planId}/stops/{stopId}`
- [Stop Search](/api/stops/searchStops): `GET /stops:search`