# shopping-guide.getGuideBuyerDisplayTag

本接口应在服务器端调用,详细说明参见服务端API

获取自定义客户信息

# 请求地址

POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerdisplaytag?access_token=ACCESS_TOKEN

# 请求参数

属性 类型 默认值 必填 说明
access_token string 接口调用凭证
guide_account string 顾问微信号(guide_account和guide_openid二选一)
guide_openid string 顾问openid或者unionid(guide_account和guide_openid二选一)
openid string 客户openid

# 返回值

# Object

属性 类型 说明
display_tag_list Array.<string> 展示标签值
errcode number 错误码
errmsg string 错误信息

errcode 的合法值

说明 最低版本
0 成功
-1 系统失败
40003 无效的openid
43004 没有关注该服务号
9300801 无效的微信号
9300804 该微信号不是顾问
9300806 客户和顾问不存在绑定关系
9300809 展示标签不存在

# 请求数据示例

{
  "guide_account": "张三",
  "openid": "xxxxxxx"
}

# 返回数据示例

{
  "display_tag_list": ["test1","test2"],
  "errcode": 0,
  "errmsg": "ok"
}