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
- currencystringrequiredPattern: ^[A-Za-z]{3}$.
- ratenumberrequiredAt most 1000000.
- asOfstringrequiredPattern: ^\d{4}-\d{2}-\d{2}$.
- sourcestringrequiredAt most 120 characters.
Responses
- 200application/jsonSuccess
- rateslist of objectrequired
- rateslist of objectrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring