Rivier/ Reference/ bookings

Add a tourist or city tax rule with its source

post/lodging/taxes

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:admin
Sdk
bookings.tax.create
Cli
bookings tax create

Request bodyapplication/json, required

  • propertyIdstring (uuid)required
  • namestringrequired
    At most 120 characters.
  • basisstringrequired
    One of: per_person_night, percent_of_room.
  • amountMinorinteger
    At least 0. At most 9007199254740991.
  • percentnumber
    At least 0. At most 100.
  • maxNightsinteger
    At least 1. At most 365.
  • maxMinorPerPersoninteger
    At least 0. At most 9007199254740991.
  • childrenExemptboolean
    Default: true.
  • validFromstring
    Pattern: ^\d{4}-\d{2}-\d{2}$.
  • validTostring
    Pattern: ^\d{4}-\d{2}-\d{2}$.
  • sourceUrlstring (uri)required
    At most 500 characters.
  • verifiedOnstringrequired
    Pattern: ^\d{4}-\d{2}-\d{2}$.

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