Modify Deal Status of Account Object
# Description
Modify the deal status of an account object.
# Request Specification
HTTP Method: POST + application/json
Request Path: https://${cloud domain}/cgi/crm/v2/special/AccountObj/action/ChangeDealStatus?thirdTraceId=${random string}
Request Headers: Refer to Common Parameters
# Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | Map | Yes | Data Map |
| account_id | String | Yes | Account data ID |
| deal_status | Int | Yes | Deal status: 1=Not closed, 2=Closed, 3=Multiple closed |
# Request Example
{
"data": {
"account_id": "5f06cdb75f9da100011f5877b",
"deal_status": 1
},
}
# Response Parameters
| Parameter | Type | Description |
|---|---|---|
| traceId | string | Unique request ID |
| errorDescription | string | Error description |
| errorMessage | string | Error message |
| errorCode | Int | Error codes reference |
# 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.