# Update a currency rate Endpoint: PATCH /currency-rates/{currencyRateId} Version: 1.12 Security: bearerAuth ## Path parameters: - `currencyRateId` (integer, required) Currency rate identifier Example: 1 ## Request fields (application/json-patch+json): - `op` (string, required) The JSON Patch operation to be performed Enum: "add", "remove", "replace", "move", "copy", "test" - `path` (string, required) A JSON-Pointer - `value` (object) The value to be used within the operations - `from` (string) A string containing a JSON Pointer value ## Response 200 fields (application/json): - `id` (integer) Internal identifier of currency rate Example: 1 - `sourceCurrencyId` (integer, required) Identifier of currency that is being converted from Example: 1 - `targetCurrencyId` (integer, required) Identifier of currency that is being converted to Example: 1 - `exchangeRate` (number, required) Exchange rate from source currency to target currency in major currency (e.g pounds/dollars/euros) unit. For example, from Argentina Peso to GBP is 446.2497 Example: 446.2497 - `startDate` (string, required) Start date - `endDate` (string) End date ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 404 fields ## Response 500 fields