有赞新零售社区

发帖
API使用问题»同样的参数调用接口返回结果不一样

[API调用-会员/营销] 同样的参数调用接口返回结果不一样

712c570a2dd0 2023-10-27 1074 浏览 2 评论 | 只看楼主 [打印]
2023-10-26 16:43:25.9 Post URL= https://open.youzanyun.com/auth/token

2023-10-26 16:43:25.9 Params= {"client_id":"ba534705e3e17262f5","client_secret":"adc30b26e405025032c1bd4498e22315","authorize_type":"silent","grant_id":"45731143"}

2023-10-26 16:43:29.3 Result[ExecTime=3401]= {"success":true,"code":200,"data":{"expires":1698911821000,"scope":"item_hotel beauty beauty_appointment retail_product beauty_staff item_category points reviews retail_trade supplier retail_goods retail-scrm trade_virtual tag cash trade_advanced item beauty_member pay selffetchcode trade-delivery tags beauty_cashier pay_qrcode multi_store item_standard circle crm_advanced stored_value_card beauty_shop shop gift_card logistics storage beauty_stock retail beauty_order virtualticket open_market beauty_item coupon retail_supplier mei_promoter store trade retail_stock coupon_advanced user retail_shop customer","access_token":"7a8cbabd98a8f4ed1bcb2b96191eacc","authority_id":"45731143"},"message":null}


2023-10-26 16:43:29.3 Post URL= https://open.youzanyun.com/api/y ... f4ed1bcb2b96191eacc

2023-10-26 16:43:29.3 Params= {"code":"ZAN4597840077631"}

2023-10-26 16:43:29.6 Result[ExecTime=281]= {"trace_id":"yz7-0ae85be1-1698309809325-505621","code":161201044,"data":{},"success":false,"message":"凭证不存在"}

这是调用失败的信息! 返回凭证不存在;但在其他机器调用 却没有问题;

用手机打开
收藏 ··· 回复
    smile   黄金   2023-10-27 | 只看该作者
    您好,已核实您的问题,这边内部排查确认下,有结论会跟您进行同步

      你好,入参的ZAN4597840077631 核销码并非,"grant_id":"45731143" 店铺所有,请仔细检查核销码以及grant_id

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

        本版积分规则

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

        • 评分

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

        复制成功