有赞新零售社区

发帖
API使用问题»电子面单获取失败

[API调用-商品/交易] 电子面单获取失败

王佳 11-05 322 浏览 2 评论 | 只看楼主 [打印]
电子面单取号返回错误,请帮看看?感谢
请求报文
2024-11-04 17:42:15.139 [DubboServerHandler-172.16.124.106:20326-thread-198] INFO c.g.i.l.api.express.youzan.express.YouzanGetWayBill - 调用有赞获取快递请求参数:{"gateway":"https://open.youzanyun.com","headers":{},"version":"1.0.0","httpMethod":"POST","paramModelClass":"com.youzan.cloud.open.sdk.gen.v1_0_0.model.YouzanLogisticsWaybillApplyParams","oauthType":"TOKEN","name":"youzan.logistics.waybill.apply","apiparams":{"brandCode":"","tradeOrderInfoList":[{"useParamRecipient":true,"deliverExtendInfo":null,"recipient":{"address":{"county":"平潭县","address":"$Vbth7jprIC+OngNGmidofg1zfdCz7Vkx1z50l3fCdsL6eD2XcmmRE/HxYPi/wFKTEOhxsmkjafk3M9HaL6ZvaQ==$1$","province":"福建省","city":"福州市"},"mobile":"$HcMj1gZhlveRCJwdBhaLWQ==$1$","name":"$4zDCDJr47AWXHGAEcv+UOg==$1$"},"tradeOrderList":null,"packageInfo":{"height":null,"volume":null,"weight":6,"length":null,"packagingDescription":null,"width":null,"items":[{"name":"250梦幻盖娟姗纯10入-2提","count":1}],"totalPackagesCount":null,"goodsDescription":null,"goodValue":null},"tid":"E20241101194132016200035","templateUrl":"https://cloudprint.cainiao.com/template/standard/301/235","orderKdtId":null,"applyId":"ON24110400000012_001","mergeRetrievalOrderNos":null,"yzOrder":null,"logisticsServices":null}],"productCode":"","callDoorPickUp":null,"doorPickUpEndTime":null,"expressId":3,"paymentType":1,"extraInfo":null,"sender":{"address":{"county":"江宁区","address":"江苏省南京市江宁区东山街道神舟路苏宁物流园6号库中通云仓","province":"江苏省","city":"南京市"},"name":"1","mobile":"1"},"doorPickUpTime":null}}


返回报文
2024-11-04 17:42:15.466 [DubboServerHandler-172.16.124.106:20326-thread-198] INFO c.g.i.l.api.express.youzan.express.YouzanGetWayBill - 调用有赞获取快递返回信息:{"code":200,"success":true,"message":"请求成功","data":[{"success":false,"code":120000102,"message":"收货人手机号不正确","applyId":"ON24110400000012_001","expressNo":null,"printData":null,"extraInfo":null,"parentExpressNo":null}],"traceId":"yz7-0a350a44-1730713335360-402432"}

用手机打开
收藏 ··· 回复
    收货人手机号以及收货人地址不能用密文

    入参use_param_recipient为fasle,不使用入参的收货人信息,默认会获取有赞订单的收货人信息
    你入参的为true,需要入参收货人信息。true仅在商家在isv侧修改了收货人信息等特殊场景使用。默认false。

      尊敬的有赞用户 您好,我们已收到您的问题,并已安排相关技术支持正在处理中,请耐心等待。建议您留言邮箱地址,问题进度将通过邮件提醒方式触达,减少论坛等待时间。

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

        本版积分规则

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

        • 评分

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

        复制成功