Update Currencies

Purpose

To update currency details.

Request URL

https://www.zohoapis.com/crm/v2/org/currencies/{currency_ID}

currency_id - Specify the unique ID of the currency.

Request Method

PUT

Scope

scope=ZohoCRM.org.{operation_type}

Possible operation types
ALL - Full access to organization data
UPDATE - Update organization data
Note:

Details like name, currency symbol, and ISO code are defined. They cannot be updated.

Possible Errors

HTTP StatusError CodeMessageReason
404INVALID_URL_PATTERNPlease check if the URL trying to access is a correct oneThe URL has syntactical errors..
400INVALID_DATAID is invalidID of the currency to be updated is invalid.
400INVALID_DATACurrency symbol is invalid.You have given an invalid currency symbol.
403FEATURE_NOT_SUPPORTEDThe multi-currency feature is not available except the Enterprise and higher editions.The multi-currency feature is only available in Enterprise and higher editions.
403FEATURE_NOT_ENABLEDThe multi-currency feature is not enabled.You can update currencies only after enabling multi-currency feature. Refer to Enable Multi Currency.
400NOT_ALLOWEDThousand separator and decimal separator should not be equalGive different separators for thousands and decimals.
400NOT_ALLOWEDBase currency ID is not allowed hereYou cannot update the base currency values.

Sample Request

Copiedcurl "https://www.zohoapis.com/crm/v2/org/currencies/action/enable"
-X PUT
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"

Sample Input

Copied{
"currencies": 
[
{
"symbol": "₹",
"format": {
"decimal_separator": "Period",
"thousand_separator": "Comma",
"decimal_places": "2"
},
"prefix_symbol": true,
"exchange_rate"  :  "1.0000000",
 "is_active":false
}
 ]
}