PUT api/2.0/crm/settings/currency This function requires authentication

Description

Updates the default CRM currency with the currency specified in the request.

Parameters
Name Description Type Example
currency
sent in body
Currency (abbreviation)
Allowed values: EUR, RUB etc. You can get the whole list of available currencies by API
string some text
Example
PUT api/2.0/crm/settings/currency
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "currency": "some text"
}
Returns

Updated currency

Example Response

application/json

{
  "status": 0,
  "response": {
    "Title": "Chinese Yuan",
    "Symbol": "¥",
    "Abbreviation": "CNY",
    "CultureName": "CN",
    "IsConvertable": true,
    "IsBasic": false
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Title>Chinese Yuan</Title>
    <Symbol>¥</Symbol>
    <Abbreviation>CNY</Abbreviation>
    <CultureName>CN</CultureName>
    <IsConvertable>True</IsConvertable>
    <IsBasic>False</IsBasic>
  </response>
</result>