---
title: "Update existing currency exchange rate."
method: PUT
path: "/v1/exchange-rates/{from}/{to}/{date}"
tags: ["currency_exchange_rates"]
---

# Update existing currency exchange rate.

`PUT /v1/exchange-rates/{from}/{to}/{date}`

Used to update a single currency exchange rate by its currency codes and date

## Path parameters

- `from` string, required
- `to` string, required
- `date` string, string, required

## Headers

- `X-Trace-Id` string, uuid

## Request body

- CurrencyExchangeRateUpdateNoDate
  - `rate` string, string, required — The exchange rate from the base currency to the destination currency.

## Response `200`

Updated exchange rate stored, result in response

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `404` — Page not found
- `422` — Validation error. The body will have the exact details.

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop.md) · [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/firefly-iii/firefly-iii-api-develop/revisions/8a1f6472e04b/schema)
