English
Update Option Set
About 154 wordsLess than 1 minute
2026-10-23
Description
Update Option Set.
Request Specification
Method: POST + application/json
Endpoint: https://${Cloud Domain}/cgi/crm/v2/options/service/update?thirdTraceId=${Random String}
Headers: Refer to Common Parameters
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | Map | Yes | Data map |
| option_api_name | String | Yes | Option set api_name |
| option_name | String | No | Option set name |
| option_values | List | No | Option value list |
| label | String | Yes | Option display value |
| value | String | Yes | Option value |
Request Example
{
"data": {
"option_api_name": "hello",
"option_name": "hello",
"option_values": [
{
"label": "Option 1",
"value": "1"
}
]
}
}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
messagefield in the response for logical judgments, aserrorMessagemay change.
