有赞新零售社区

发帖
API使用问题»电子面单取号提示重复下单

[API调用-商品/交易] 电子面单取号提示重复下单

fc4898255e41 10-17 296 浏览 7 评论 | 只看楼主 [打印]
接口:youzan.logistics.waybill.apply.1.0.0
https://doc.youzanyun.com/detail/API/0/4244

顺丰快递
第一次获取单号后,调用取消单号,第二次再获取报错,如下

请求:{"aPIParams":{"brand_code":"SF","express_id":7,"payment_type":1,"product_code":"2","sender":{"address":{"address":"岷山路北仑银泰城1F 1039#","city":"宁波市","county":"北仑区","province":"浙江省"},"mobile":"隐藏***","name":"方科捷"},"trade_order_info_list":[{"apply_id":"89c82da6ee0d7e4af64c61d7ce8de8d0","order_kdt_id":137276474,"package_info":{"goods_description":"无","height":1,"items":[{"count":1,"name":"廓形弯刀牛仔裤"}],"length":1,"total_packages_count":1,"volume":1,"weight":1,"width":1},"template_url":"https://cloudprint.cainiao.com/template/standard/474941/33","tid":"E20241016153854078200039","trade_order_list":["E20241016153854078200039"],"use_param_recipient":false,"yz_order":true}]},"gateway":"https://open.youzanyun.com","headers":{"X-Cat-Trace":"{\"_catRootMessageId\":\"zan-open-sdk-62ec0a65-ce7d-44a2-972b-a61fc8fb74e6\",\"_catParentMessageId\":\"zan-open-sdk-62ec0a65-ce7d-44a2-972b-a61fc8fb74e6\"}"},"httpMethod":"POST","name":"youzan.logistics.waybill.apply","oAuthType":"TOKEN","paramModelClass":"com.youzan.cloud.open.sdk.gen.v1_0_0.model.YouzanLogisticsWaybillApplyParams","version":"1.0.0"}

响应:
{"code":200,"data":[{"apply_id":"89c82da6ee0d7e4af64c61d7ce8de8d0","code":1200420006,"message":"重复下单","success":false}],"message":"请求成功","success":true,"trace_id":"zan-open-sdk-62ec0a65-ce7d-44a2-972b-a61fc8fb74e6"}
本帖最后由 fc4898255e41 于 2024-10-16 16:37 编辑
用手机打开
收藏 ··· 回复
    尊敬的有赞用户 您好,我们已收到您的问题,并已安排相关技术支持正在处理中,请耐心等待。您可以关注之前预留的邮箱tank@yushany注意问题解决进度提醒邮件。

      核实中,有结果论坛同步

        已经核实:现在子母件是无法取消重新取的(菜鸟那边的接口实现问题)
        不过有其他方式,在取号接口的参数,trade_order_list字段换个订单号,可以重新取号

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

        本版积分规则

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

        • 评分

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

        复制成功