English
Update Exchange Rate Between Any Currencies
About 170 wordsLess than 1 minute
2026-01-19
Description
Update the exchange rate between any currencies.
Request Specification
Request Method: POST + application/json
Request Path: https://${cloud domain}/cgi/crm/custom/v2/data/updateCurrencyExchangeRate?thirdTraceId=${Random String}
Request Headers: Refer to Common Parameters
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | Map | Yes | Data map |
| toCurrencyCode | String | Yes | Target currency code |
| currencyExchangeArgs | List | Yes | Exchange rate arguments |
| fromCurrencyCode | String | Yes | Source currency code |
| toCurrencyCode | String | Yes | Target currency code |
| exchangeRate | String | Yes | Exchange rate from source to target currency |
Request Example
{
"data": {
"currencyExchangeArgs": [
{
"exchangeRate": "6.4354",
"toCurrencyCode": "CNY",
"fromCurrencyCode": "USD"
}
],
"toCurrencyCode": "CNY"
}
}Response Parameters
| Parameter | Type | Description |
|---|---|---|
| traceId | string | Unique request ID |
| errorDescription | string | Error description |
| errorMessage | string | Error message |
| errorCode | Int | Error codes |
Response Example
{
"traceId": "E-O.827xxxxxx",
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}Notes
- Do not use the message field in the response for logical judgment, as errorMessage may change.
