Admin Settings: Exchange Rates
Update an exchange rate
Updates target_currency and/or rate. Composite-uniqueness excludes self.
put/settings/exchange-rates/{id}
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Example:4
Exchange rate ID.
Request body
Example request
{
"target_currency": 2,
"rate": 1.09
}Response
Exchange rate updated.
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.