Replace the amenities a property, area, room type or unit sets itself
put/lodging/amenities/{scopeKind}/{scopeId}
Replace the amenities a property, area, room type or unit sets itself: include or remove an inherited one, with free or paid access, fee, hours, location and a note.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:admin- Mcp
rivier_lodging_amenities_set- Sdk
bookings.amenities.set- Cli
bookings amenities set
Parameters
- scopeKindstringrequiredIn the path
- scopeIdstring (uuid)requiredIn the path
Request bodyapplication/json, required
- itemslist of objectrequired
- amenityIdstringrequiredAt most 80 characters.
- modestringOne of: include, exclude. Default: include.
- accessstringOne of: free, paid, on_request. Default: free.
- feeMinorinteger or nullDefault: null.
- feePerstring or nullDefault: null.
- hourslist of object or nullDefault: null.
- locationstringDefault: . At most 120 characters.
- quantityinteger or nullDefault: null.
- contentobjectDefault: {}.
- amenityIdstringrequired
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