• 请不要在回答技术问题时复制粘贴 AI 生成的内容
bk201
V2EX  ›  程序员

微信公众号后台创建了优惠劵可以导出 card_id, card_no 吗

  •  
  •   bk201 · Dec 2, 2019 · 1580 views
    This topic created in 2381 days ago, the information mentioned may be changed or developed.

    看文档,后端发放优惠劵需要使用 card_id,card_no 调用生成二维码或者其他形式让用户主动领取。但是公众号后台创建的优惠劵 card_id,card_no 怎么取呢? 现在需要给完成特定条件的用户发放微信优惠劵,有什么实现思路吗?

    3 replies    2019-12-03 18:07:18 +08:00
    YoRuo
        1
    YoRuo  
       Dec 2, 2019   ❤️ 1
    根据 openId 插卡。
    https://api.weixin.qq.com/card/insertcardtouser?access_token =TOKEN

    这个接口的权限你需要拿到
    bk201
        2
    bk201  
    OP
       Dec 3, 2019
    @YoRuo 这个接口官方文档里怎么没搜到?
    YoRuo
        3
    YoRuo  
       Dec 3, 2019
    @bk201 找不到的 私下才会有
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2876 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 15:28 · PVG 23:28 · LAX 08:28 · JFK 11:28
    ♥ Do have faith in what you're doing.