Admin Settings: Exchange Rates

Update an exchange rate

Updates target_currency and/or rate. Composite-uniqueness excludes self.

put/settings/exchange-rates/{id}

Request

Path parameters

idinteger required
Example:4

Exchange rate ID.

Request body

target_currencyinteger
ratenumber float

Example request

{
  "target_currency": 2,
  "rate": 1.09
}

Response

Exchange rate updated.

idinteger nullable
targetCurrencyinteger nullable
targetCurrencyCodestring nullable
targetCurrencyNamestring nullable
ratenumber nullable
createdAtstring nullable
updatedAtstring nullable
messagestring nullable

Example response

{
  "id": 1,
  "targetCurrency": 2,
  "targetCurrencyCode": "EUR",
  "targetCurrencyName": "Euro",
  "rate": 0.92,
  "createdAt": "2026-05-25T08:15:00+00:00",
  "updatedAt": "2026-05-25T08:20:00+00:00",
  "message": "Exchange rate deleted successfully."
}

Changes

No recorded changes to this operation across all 8 revisions of this API.