Update a rate plan
PUT/api/v1/pms/rate-plans/:id
Replaces the plan and all its periods. version must be the one the edit was read at; if the plan was saved since, nothing changes and the response is 409. Confirmed bookings keep the price they were booked at.
Request
Responses
- 200
- 400
- 404
- 409
Plan updated; version is the new one.
A field is missing or invalid, or version is missing.
No plan with that id.
Stale version, or the new code is taken.