- 开发指南
- 基础接口
- 客户设置
- 消息推送
- 客户&线索&待分配
- 客户查询
- 客户导入
- 客户
- 客户数据
- 客户聊天
- 已跟进客户数据
- 线索&待分配
- 商机
- 个人客户转企业客户
- 企业客户联系人
- 客户旅程
- 客户操作
- 按企微员工id列出企微好友客户详情POST
- 公海
- 企微组织架构
- 企微标签库
- 企业
- 合同
- 电商平台
- 营销
- 数据统计
- 内容访客
- 电销手机
- SOP任务
- 群发消息
- 管控
- 工单
- 素材
- 应用通知
- 附录
- 群数据
- 店主活码
按企微客户id获取详情
POST
/api/v2/customer/qw-details
可用服务版本
企微基础版、企微高级版
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
externalUserId
string
客户企微id
qwUserId
string
销售企微id
示例
{
"externalUserId": "wmvRo3DwAAjRcO70jPyfVZa3B6uXc9Ng",
"qwUserId": "ZhuShanPeng"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v2/customer/qw-details' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"externalUserId": "wmvRo3DwAAjRcO70jPyfVZa3B6uXc9Ng",
"qwUserId": "ZhuShanPeng"
}'
返回响应
🟢200成功
application/json
Body
code
integer
业务状态码
message
string
业务状态说明。
data
array [object {8}]
结果列表
qwUserId
string
销售企微id
externalUserId
string
客户企微id
unionId
string | null
客户unionId
qwCustomerTime
string | null
加客户企微好友的时间
mobiles
array[string] | null
客户手机号
wechatNickname
string | null
客户微信昵称
wechatAvatar
string | null
客户微信头像
fields
array [object {5}]
属性列表
示例
{
"code": 0,
"message": "success",
"data": [
{
"qwUserId": "LiuFuLai",
"externalUserId": "wmPBvlDQAAAtqjxUNvuEL5CRio1NWNXA",
"mobiles": [
"158xxxxxxxx",
"123xxxxxxxx"
],
"wechatNickname": "Dxxxx",
"wechatAvatar": "http://wx.qlogo.cn/mmhead/Q3auHgzwzM7cIBDgl0iaoiciaO8O8cibJFYPFs3vKOQwicDzzLgdjAcibuiaA/0",
"fields": [
{
"id": 680,
"name": "电话",
"outerField": null,
"value": "158xxxxxxxx#123xxxxxxxx",
"stable": true
},
{
"id": 681,
"name": "企业",
"outerField": null,
"value": "hja",
"stable": true
},
{
"id": 682,
"name": "描述",
"outerField": null,
"value": "hj lfla",
"stable": true
},
{
"id": 684,
"name": "销售阶段",
"outerField": null,
"value": "需求确定11",
"stable": true
},
{
"id": 685,
"name": "意向",
"outerField": null,
"value": "高",
"stable": true
},
{
"id": 686,
"name": "客户来源",
"outerField": null,
"value": "转介绍",
"stable": true
},
{
"id": 683,
"name": "姓名",
"outerField": null,
"value": "大刘a",
"stable": true
},
{
"id": 687,
"name": "性别 ",
"outerField": null,
"value": "男",
"stable": true
}
]
}
]
}
🟢200异常
修改于 2022-02-23 02:30:37