Add an extra or a fee; a mandatory fee is added to every stay
post/lodging/extras
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:admin- Mcp
rivier_lodging_extra_create- Sdk
bookings.extra.create- Cli
bookings extra create
Request bodyapplication/json, required
- propertyIdstring (uuid)required
- codestringrequiredPattern: ^[A-Za-z0-9_-]{1,24}$.
- namestringrequiredAt most 120 characters.
- kindstringOne of: extra, fee. Default: extra.
- priceMinorintegerrequiredAt least 0. At most 9007199254740991.
- perstringOne of: stay, night, person, person_night. Default: stay.
- taxstringOne of: accommodation, ancillary, none. Default: ancillary.
- mandatorybooleanDefault: false.
- maxQuantityintegerDefault: 1. At least 1. At most 50.
- roomTypeIdslist of string (uuid)Default: [].
- contentobjectDefault: {}.
- positionintegerDefault: 0. At least 0. At most 10000.
- publishedbooleanDefault: true.
Responses
- 201application/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