Updating exchange rate by code

PUT {{api-url}}/currency/{{tenant}}/exchanges/PLN_EUR

Updates an existing exchange rate by code. The exchange rate code, source and target currencies are immutable therefore they cannot be changed in this request. Only rate field can be changed.

Request Body

{"code"=>"PLN_EUR", "sourceCurrency"=>"PLN", "targetCurrency"=>"EUR", "rate"=>"4.7", "metadata"=>{"version"=>1}}

HEADERS

KeyDatatypeRequiredDescription
Content-Languagestring(Required) The Content-Language request HTTP header defines language(s) of the payload.
Content-Typestring
Acceptstring