Rivier/ Reference/ bookings

Change or archive an extra or fee

patch/lodging/extras/{id}

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:admin
Mcp
rivier_lodging_extra_update
Sdk
bookings.extra.update
Cli
bookings extra update

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • codestring
    Pattern: ^[A-Za-z0-9_-]{1,24}$.
  • namestring
    At most 120 characters.
  • kindstring
    One of: extra, fee. Default: extra.
  • priceMinorinteger
    At least 0. At most 9007199254740991.
  • perstring
    One of: stay, night, person, person_night. Default: stay.
  • taxstring
    One of: accommodation, ancillary, none. Default: ancillary.
  • mandatoryboolean
    Default: false.
  • maxQuantityinteger
    Default: 1. At least 1. At most 50.
  • roomTypeIdslist of string (uuid)
    Default: [].
  • contentobject
    Default: {}.
  • positioninteger
    Default: 0. At least 0. At most 10000.
  • publishedboolean
    Default: true.
  • 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