Rivier/ Reference/ bookings

Bookings policy update

patch/bookings/policies/{id}

Change a cancellation policy (bookings already made keep the terms they were made under).

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:admin
Sdk
bookings.policy.update
Cli
bookings policy update

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • namestring
    At most 120 characters.
  • kindstring
    One of: standard, dated_leisure. Default: standard.
  • tierslist of object
    Default: [].
    • hoursBeforenumberrequired
      At least 0. At most 8760.
    • refundPercentnumberrequired
      At least 0. At most 100.
    • feeMinorinteger
      Default: 0. At least 0. At most 9007199254740991.
  • noShowobject
    Default: {}.
    • feePercentnumber
      Default: 0. At least 0. At most 100.
    • feeMinorinteger
      Default: 0. At least 0. At most 9007199254740991.
  • textstring
    Default: . At most 4000 characters.

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