有赞新零售社区

发帖
消息推送»查询券详情接口,查询不出来

查询券详情接口,查询不出来

inxx-5 12-09 558 浏览 2 评论 | 只看楼主 [打印]
09:24:24 [http-nio-7966-exec-11] INFO  c.i.s.impl.YZVoucherServiceImpl - umpVoucherQuery根据状态查询用户优惠券/优惠码列表;请求:{"aPIParams":{"activity_type_group":1,"page_num":1,"page_size":20,"status":0,"yz_open_id":"ndEtfHlN662017655556804608"},"gateway":"https://open.youzanyun.com","headers":{},"httpMethod":"POST","name":"youzan.ump.voucher.query","oAuthType":"TOKEN","paramModelClass":"com.youzan.cloud.open.sdk.gen.v3_0_0.model.YouzanUmpVoucherQueryParams","version":"3.0.0"}
09:24:24 [http-nio-7966-exec-11] INFO  c.i.s.impl.YZVoucherServiceImpl - umpVoucherQuery根据状态查询用户优惠券/优惠码列表;返回:{"code":200,"data":[{"activity_id":32404195,"description":"1.该券为INXX正式员工内购券,限购一件,每月按公司制度发放,发放当月有效;\n2.本券线上购买商城仅限于【INXX官方商城(小程序)】所属品牌线:INXX/TOFOURTH\n3.本券线下购买仅限于【INXX线下门店直营店】,其目前可内购的服装及周边品牌为SSSAINT LOUIS/Andersson bell/HOUSE OF ERRORS/instrumental/GROUNDS/VIRON/ROMBAUT/HAMCUS/FACETASM/FENG CHEN WANG/JUUN.J/Mihara/PRONOUNCE/SANKUANZ/UNROW/Perks and mini/RIPNDIP/#FR2/INXX/RECYANCLE/Black and Blank/inxxstreet/HYPESTUFF/Screw loose/ALLPICK/APYD/Standby/Stand by inxx/EVAE/FREE WORLD ORDER/Sad Reborn Dolls/B-Lux/TOFOURTH/造强——(特殊商品除外);\n4.该券不可重复使用,且不计入退、换货;\n5.该券只限本人使用,不能转赠;\n6.该券一经使用概不退回,不找现,不找零;\n7.该券在发放当月有效,过期作废;\n8.在法律允许的范围内,本公司拥有最终解释权。","is_sync_card":0,"is_sync_wechat_paymch":false,"kdt_id":144507881,"preferential_mode":2,"send_at":1733464969000,"send_source":"MA_CRM_OPERATION","status":1,"threshold_amount":0,"title":"员工5折内购券","user_identity":{"fans_id":0,"fans_type":0,"has_bound_mobile":true,"mobile":"15168348530","proxy_fans_id":0,"yz_open_id":"ndEtfHlN662017655556804608"},"valid_end_time":1735660799000,"valid_start_time":1733328000000,"value":50,"verify_code":"ZAN5549288310642","voucher_identity":{"coupon_id":20723041445,"coupon_type":0}}],"message":"successful","page_num":1,"page_size":20,"success":true,"total":1,"trace_id":"zan-open-sdk-b8b565a1-80a7-4294-abd3-9da50445b51b"}

获得了大类券id为32404195,再去查询券详情接口

09:24:24 [http-nio-7966-exec-11] INFO  c.i.s.impl.YZVoucherServiceImpl - couponDetailGet获取优惠券/码活动详情;请求:{"aPIParams":{"id":32404195},"gateway":"https://open.youzanyun.com","headers":{},"httpMethod":"POST","name":"youzan.ump.coupon.detail.get","oAuthType":"TOKEN","paramModelClass":"com.youzan.cloud.open.sdk.gen.v3_0_0.model.YouzanUmpCouponDetailGetParams","version":"3.0.0"}
09:24:25 [http-nio-7966-exec-11] INFO  c.i.s.impl.YZVoucherServiceImpl - couponDetailGet获取优惠券/码活动详情;返回:{"code":200,"data":{},"message":"successful","success":false,"trace_id":"zan-open-sdk-71ca6c9a-1870-436f-bd19-00914a795802"}

为何会查询不到呢


用手机打开
收藏 ··· 回复
    尊敬的有赞用户 您好,我们已收到您的问题,并已安排相关技术支持正在处理中,请耐心等待。您可以关注之前预留的邮箱yjt@in注意问题解决进度提醒邮件。

      尊敬的有赞用户,您好,接口请求的券是非有赞平台创建的,目前调用youzan.ump.coupon.detail.get 3.0.0 版本会返回为空,  您可以调用接口接口名称:youzan.ump.voucheractivity.detail.query.3.0.2 可以查询到信息,文档 https://doc.youzanyun.com/detail/API/0/3518


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

        本版积分规则

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

        • 评分

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

        复制成功