Bookings unit update
patch/lodging/units/{id}
Rename a room, move it to a floor or area, change its notes and what it changes about its room type, or archive it.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:admin- Mcp
rivier_lodging_unit_update- Sdk
bookings.unit.update- Cli
bookings unit update
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- namestringAt most 60 characters.
- floorstring or null
- areaIdstring (uuid) or null
- notesstringDefault: . At most 2000 characters.
- overridesobjectDefault: {}.
- sizeM2integerAt least 1. At most 5000.
- bedroomsintegerAt least 0. At most 30.
- bathroomsnumberAt least 0. At most 30.
- smokingstringOne of: non_smoking, smoking, either.
- viewslist of string
- sleepinglist of object
- namestringrequiredAt most 60 characters.
- kindstringOne of: bedroom, living_room, studio, other. Default: bedroom.
- bedslist of objectrequired
- typestringrequiredOne of: single, double, queen, king, twin, sofa_bed, bunk, futon, crib, extra_bed.
- countintegerrequiredAt least 1. At most 10.
- typestringrequired
- namestringrequired
- sizeM2integer
- contentobjectDefault: {}.
- statusstringOne of: active, archived.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring