- 对接说明
- 全局异常码
- 联系人合并接口迁移说明
- 一、获取访问凭据
- 二、通讯录管理
- 三、企微好友管理🚀🚀🚀
- 四、线索管理(即将废弃)
- 五、企业管理🚀🚀🚀
- 六、智能码
- 七、三方ID转换
- 八、跟进记录🚀🚀🚀
- 九、旅程动态🚀🚀🚀
- 十、商机🚀🚀🚀
- 十一、资料库
- 十二、标签管理🚀🚀🚀
- 十三、营销组件
- 十四、消息推送
- 十五、群相关
- 十六、自定义字段🚀🚀🚀
- 十七、外呼相关
- 十八、个微人脉管理
- 十九、联系人🚀🚀🚀
- 二十、活动管理
- 事件回调🚀🚀🚀
19.4 联系人编辑
POST
https://openapi.weiling.cn/openapi/contact/edit
请求参数
Query 参数
access_token
string
接口调用凭证
Body 参数application/json
contact_id
string
联系人id
user_name
string
联系人名称
position
string
职位
gender
integer
性别
age
integer
年龄
wx_id
string
微信id
qq
string
QQ
email
string
邮箱
remark
string
备注
contact_custom
object
联系人自定义字段
示例
{
"contact_id": "string",
"user_name": "string",
"position": "string",
"gender": 0,
"age": 0,
"wx_id": "string",
"qq": "string",
"email": "string",
"remark": "string",
"contact_custom": {}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.weiling.cn/openapi/contact/edit?access_token' \
--header 'Content-Type: application/json' \
--data-raw '{
"contact_id": "string",
"user_name": "string",
"position": "string",
"gender": 0,
"age": 0,
"wx_id": "string",
"qq": "string",
"email": "string",
"remark": "string",
"contact_custom": {}
}'
返回响应
🟢200成功
application/json
Body
msg
string
必需
code
integer
必需
示例
{
"code": 0,
"msg": "success"
}
修改于 2025-01-15 06:04:20