自动触发
1、用户通过扫门店分销员二维码注册,
2、有赞推送用户事件;= 用户创 CUSTOMER_CREATED
{"msg":"%7B%22account_type%22%3A%22YouZanAccount%22%2C%22account_id%22%3A%******%22%2C%22gender%22%3A0%2C%22is_member%22%3A0%2C%22src%22%3A0%2C%22mobile%22%3A%******%22%2C%22created_at%22%3A1682135069%7D","test":false,"sign":"6370d9e09bab6c301801349e47003788","yz_open_id":"******","type":"SCRM_CUSTOMER_EVENT","sendCount":1,"version":1682135111511,"client_id":"7925fdd8738b6208cd","mode":1,"kdt_id":******,"id":******,"msg_id":"f1760f4144ceae7425dcda35c56b796c","status":"CUSTOMER_CREATED"}
3、通过用户推送接收的YzOpenId 查询步骤1的归属分销员信息
接口:youzan.salesman.customer.account.get.1.0.0
返回:{"code":200,"data":[],"message":"successful","success":true,"trace_id":"yz7-0ae85be6-1682135111781-625134"}
手动触发
1、登陆商家后台修改用户资料,触发用户消息更新事件(CUSTOMER_UPDATED)
2、通过修改的用户,反查归属分销员信息 正常返回,(用*隐藏敏感数据)
{"code":200,"data":[{"mobile":"******","nickname":"******","seller":"29aUH3k","yz_open_id":"z0oa5fUt1023651656018984960"}],"message":"successful","success":true,"trace_id":"yz7-0ae85bde-1682212522788-745368"}
麻烦排查一下问题点
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|