Update Rate Plan
PATCH/gds/vendor/properties/:vendor_property_id/roomtypes/:vendor_roomtype_id/rateplans/:vendor_rateplan_id
- Updates a rate plan's sales status.
- Follows RFC 7396 JSON Merge Patch. Omitted fields keep their existing values.
- Selling conditions such as sale period, length of stay, and refundability live on the bound rate plan model rather than the rate plan, so use Update Rate Plan Model to change them.
- A mismatch between the identifier in the path and the one in the body returns
400.
Request
Responsesapplication/json
- 200
- 400
- 401
- 403
- 404
- 409
Update result
Bad Request (identifier mismatch between path and body, etc.)
Unauthorized
Forbidden
Not Found
Conflict (id already exists)