Update Rate Plan Mapping
PATCH/gds/vendor/properties/:vendor_property_id/roomtypes/:vendor_roomtype_id/rateplans/:vendor_rateplan_id/channels/:channel_id/mappings
- Updates the mapping between a rate plan and a channel rate plan.
- Put the channel-side rate plan ID in
channel_rateplan_idto link them, and usestatusto turn the mapping on or off. - Sending
nullclears the mapping; omitting the field keeps the existing value. - Map to
0on channels that have no concept of rate plans. - The property and room type mappings must be completed first, and only direct channels can be modified.
Request
Responsesapplication/json
- 200
- 400
- 401
- 403
- 404
- 500
Rate plan mapping updated
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error