Update Room Type
PATCH/gds/vendor/properties/:vendor_property_id/roomtypes/:vendor_roomtype_id
- Updates a room type's content and sales status.
- Follows RFC 7396 JSON Merge Patch. Omitted fields keep their existing values, and sending
nullclears a value. - Stopping and resuming sales also goes through this API. Sending only
statusleaves the rest of the content untouched. - 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)