Rivier/ Reference/ bookings

Bookings fx rate set

put/lodging/fx-rates

Enter the rate of a display currency (units of it per unit of the property's currency), the day and the source. Guests are shown an approximate price and are still charged in the property's currency.

Before you call

Credential
Authorization: Bearer $KEY
Scope
bookings:admin
Sdk
bookings.fxRate.set
Cli
bookings fx rate set

Request bodyapplication/json, required

  • propertyIdstring (uuid)required
  • currencystringrequired
    Pattern: ^[A-Za-z]{3}$.
  • ratenumberrequired
    At most 1000000.
  • asOfstringrequired
    Pattern: ^\d{4}-\d{2}-\d{2}$.
  • sourcestringrequired
    At most 120 characters.

Responses

  • 200application/json
    Success
    • rateslist of objectrequired
    • 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