Get Started
Usage API
More information

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>