有赞新零售社区

发帖
API使用问题»会员同步问题

[API调用-会员/营销] 会员同步问题

贵人鸟福利官 2022-10-26 913 浏览 2 评论 | 只看楼主 [打印]
场景如线下:
比如A顾客扫会员码后并没有领卡,此时会员消息接口会推一条记录给回调接口。当顾客A领卡后成为会员也会推一条记录给回调接口。现在问题点我要把领卡时候消息才转为会员资料目前观察2条消息接口没有特别字段来区分,帮忙看下只有领卡时候才生成会员资料需要关注消息接口什么字段。


用手机打开
收藏 ··· 回复
    您好,麻烦您参考此文档https://doc.youzanyun.com/detail/MSG/281
    • 现在就采取是这个接口,如下3个消息没办法特别区分那个是领卡后成为会员特别标记
      关注时候推送消息接口第一条
      {"msg":"%7B%22ascription_kdt_id%22%3A96343467%2C%22account_type%22%3A%22YouZanAccount%22%2C%22account_id%22%3A%229849969899%22%2C%22src%22%3A0%2C%22mobile%22%3A%2215060829176%22%2C%22is_log_off%22%3Afalse%7D","test":false,"sign":"44082efda35018b7e3c7fb4742eafb2d","yz_open_id":"r4oBMyFO691674717836341248","type":"SCRM_CUSTOMER_EVENT","sendCount":1,"version":1666424792251,"client_id":"974085a2a1d17e3943","mode":1,"kdt_id":44693599,"id":9849969899,"msg_id":"aca4240ecd44d403ebf4854aff50d34c","status":"CUSTOMER_UPDATED"}
      关注时候推送消息接口第二条
      {"msg":"%7B%22account_type%22%3A%22YouZanAccount%22%2C%22account_id%22%3A%229849969899%22%2C%22gender%22%3A0%2C%22is_member%22%3A0%2C%22src%22%3A0%2C%22mobile%22%3A%2215060829176%22%2C%22created_at%22%3A1666424748%7D","test":false,"sign":"3bcb84a8a5e65fbc12fb8bc7a1a719ce","yz_open_id":"r4oBMyFO691674717836341248","type":"SCRM_CUSTOMER_EVENT","sendCount":1,"version":1666424792165,"client_id":"974085a2a1d17e3943","mode":1,"kdt_id":44693599,"id":9849969899,"msg_id":"41accd4b0062c3e10b47f23232587743","status":"CUSTOMER_CREATED"}
      领卡后消息接口
      {"msg":"%7B%22account_type%22%3A%22YouZanAccount%22%2C%22account_id%22%3A%229849969899%22%2C%22gender%22%3A0%2C%22src%22%3A0%2C%22mobile%22%3A%2215060829176%22%2C%22is_log_off%22%3Afalse%7D","test":false,"sign":"85ecb11e80a40cfa8a2d4b8f46e6366f","yz_open_id":"r4oBMyFO691674717836341248","type":"SCRM_CUSTOMER_EVENT","sendCount":1,"version":1666424930840,"client_id":"974085a2a1d17e3943","mode":1,"kdt_id":44693599,"id":9849969899,"msg_id":"980f3331438ba1c010457d46fdebb21b","status":"CUSTOMER_UPDATED"}

    您好,麻烦您参考此文档发帖https://bbs.youzan.com/thread-684638-1-1.html,补充好信息我们后台进行查询

      1跳至
      您需要登录后才可以回帖 登录 | 立即注册

      本版积分规则

      复制链接
      新浪微博
      QQ空间
      微信扫码
      • 回复

      • 评分

      客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

      复制成功