Rivier/ Reference/ bookings

Change or archive a custom amenity

patch/lodging/custom-amenities/{id}

Before you call

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

Parameters

  • idstringrequired
    In the path

Request bodyapplication/json, required

  • iconstring
    Pattern: ^[A-Za-z0-9]{1,40}$.
  • labelsobject
  • statusstring
    One of: active, archived.

Responses

  • 200application/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