Updating currency by code

PUT {{api-url}}/currency/{{tenant}}/currencies/PLN

Updates an existing currency. The currency code is immutable therefore it cannot be changed in this request. For name field the following rules are applicable: * If the Content-Language is set to * the name field should be represented not as a string, but as a map in format: key:value, where the key is the language code and value is the translation. * If the Content-Language is set to a specific language then the name parameter should be passed as a string


Request Body

{"code"=>"PLN", "name"=>"Polski Zloty", "metadata"=>{"version"=>1}}

HEADERS

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