Rivier/ Reference/ bookings

Add an amenity the taxonomy does not have

post/lodging/custom-amenities

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:admin
Mcp
rivier_lodging_custom_amenity_create
Sdk
bookings.customAmenity.create
Cli
bookings custom amenity create

Request bodyapplication/json, required

  • categorystringrequired
    One of: room, bathroom, kitchen, entertainment, climate, safety, accessibility, outdoor, services, family, wellness, business, view, sustainability.
  • iconstring
    Default: Sparkles. Pattern: ^[A-Za-z0-9]{1,40}$.
  • labelsobjectrequired

Responses

  • 201application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown