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 Status | Error Code | Message | Reason |
---|---|---|---|
404 | INVALID_URL_PATTERN | Please check if the URL trying to access is a correct one | The URL has syntactical errors.. |
400 | INVALID_DATA | ID is invalid | ID of the currency to be updated is invalid. |
400 | INVALID_DATA | Currency symbol is invalid. | You have given an invalid currency symbol. |
403 | FEATURE_NOT_SUPPORTED | The multi-currency feature is not available except the Enterprise and higher editions. | The multi-currency feature is only available in Enterprise and higher editions. |
403 | FEATURE_NOT_ENABLED | The multi-currency feature is not enabled. | You can update currencies only after enabling multi-currency feature. Refer to Enable Multi Currency. |
400 | NOT_ALLOWED | Thousand separator and decimal separator should not be equal | Give different separators for thousands and decimals. |
400 | NOT_ALLOWED | Base currency ID is not allowed here | You 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
}
]
}