# 推客绑定机构的回调
相关文档
# 请求参数示例(解密后的明文JSON)
{
"ToUserName": "gh_*",
"FromUserName": "OPENID",
"CreateTime": 1662480000,
"MsgType": "event",
"Event": "promoter_bind_result",
"bind_status": 1,
"sharer_appid": "12345",
"sharer_openid": "ol0X***",
"sharer_unionid": "owdq***"
}
# 回包示例
success
# 请求参数说明
| 参数 | 类型 | 说明 |
|---|---|---|
| ToUserName | string | 机构UserName, 机构原始ID, 可在「微信小店·联盟带货机构管理平台 - 设置 - 基础信息」中获得。 |
| FromUserName | string | 微信团队的 OpenID(固定值) |
| CreateTime | number | 事件时间,Unix时间戳 |
| MsgType | string | 消息类型,固定为 event |
| Event | string | 事件类型,本接口固定为 promoter_bind_result |
| sharer_appid | string | 推客appid |
| sharer_openid | string | 推客openid(推客在带货机构下的openid,而非绑定小程序下的openid) |
| sharer_unionid | string | 推客unionid (推客在带货机构下的unionid,可用于相同主体的不同应用之间进行关联) |
| bind_status | number | 绑定状态【1 - 绑定 2 解绑】 |
# 回包参数说明
只需直接返回字符串
success