var order_type = 1; //邮政快递的代码是EMS,只是order_type为2 if (theLogisticsCode.Equals("EMS")) order_type = 2; //值为2是邮政快递
订单发货支不支持POSTB邮政快递https://developers.weixin.qq.com/doc/channels/API/order/delivery_send.html 订单发货支不支持POSTB邮政快递呢,如果支持的话是POSTB这个编码吗
09-29https://developers.weixin.qq.com/doc/channels/API/ewaybill/get_print_info.html
电子面单获取提示:电子面单已存在我们在获取电子面单的时候,接口提示:电子面单已存在, 但是我们系统该订单没有历史调用记录,可以帮忙 1.是否可以帮忙查一下该订单的最早调用记录,并提供调用报文 2.对于历史获取过运单的订,有什么接口可以调用到 接口返回的 "print_info" 面单信息 接口地址: https://api.weixin.qq.com/channels/ec/logistics/ewaybill/biz/order/create 入参: { "ewaybill_order_id": "24012400088006", "delivery_id": "SF", "site_code": "", "ewaybill_acct_id": "6620726395", "sender": { "name": "WMF电商仓储中心", "mobile": "176 0132 3136", "province": "浙江省", "city": "嘉兴市", "county": "海盐县", "street": "", "address": "杭州湾大道3566号一楼1-3单元乔达物流" }, "receiver": { "name": "禹**", "mobile": "135****6993", "city": "北京市", "county": "朝阳区", "street": "", "address": "****", "province": "北京" }, "remark": "", "shop_id": "5009820344322", "ec_order_list": [ { "ec_order_id": 3717329244693858000, "goods_list": [ { "good_name": "日用厨具", "good_count": 1, "product_id": 111, "sku_id": 222 } ] } ], "template_id": "6620625114", "return_address": { "name": "禹**" } } 回参: { "errcode": 10025019, "errmsg": "电子面单已存在 rid: 65b3146b-54ec6d30-4bf8e1a2" }
03-19我也遇到了这个问题,同问 另外提醒楼主,自己的问题,自己回答了,就不会再有人回答了,我的经验哈
报告BUG视频号的电子面单BUG,如下 1、问题描述:用一个唯一幂等ID("ewaybill_order_id":"6031495")创建电子面单时,系统提示:{"errcode":10025019,"errmsg":"电子面单已存在 rid: 658a6023-579bd1d5-0fefb327"},但是用("ewaybill_order_id":"6031495")查询电子面单时,提示是矛盾的:{"errcode": 10025010,"errmsg": "电子面单订单不存在,请确认面单ID rid: 658a8570-436e6a2c-27a67934"} 2、创建单据时的请求日志: https://api.weixin.qq.com/channels/ec/logistics/ewaybill/biz/order/create 请求参数:{"ewaybill_order_id":"6031495","ewaybill_acct_id":"6620657705","template_id":"single","delivery_id":"SF","shop_id":"5009819850124","ec_order_list":[{"ec_order_id":3716644229108074496,"goods_list":[{"good_name":"服装","good_count":1}]}],"sender":{"province":"湖北省","city":"武汉市","county":"江汉区","street":"","address":"湖北省武汉市江汉区青年路378号万景国际A座7楼","name":"余小芳","mobile":"18707189629"},"receiver":{"province":"黑龙江省","city":"哈尔滨市","county":"其它区","street":"****","address":"黑龙江省哈尔滨市其它区****","name":"马**","mobile":"17810320149-7245"}} 响应结果:{"errcode":10025019,"errmsg":"电子面单已存在 rid: 658a6023-579bd1d5-0fefb327"} 3、查询单据的请求日志: https://api.weixin.qq.com/channels/ec/logistics/ewaybill/biz/order/get 请求参数:{ "ewaybill_order_id":"6031495"} 响应结果:{"errcode": 10025010,"errmsg": "电子面单订单不存在,请确认面单ID rid: 658a8570-436e6a2c-27a67934"}
03-19使用电子面单取消下单功能,也无法取消,应该没有waybill_id
报告一个不合理的业务逻辑https://developers.weixin.qq.com/doc/channels/API/ewaybill/create_order.html 视频号接口中: 1。电子面单取号,恰巧取出来的单号没有保存成功,然后以同一个waybill_id再去重新取号, 就会报告电子面单已经存在,这个时候,应该返回上次取号的信息,而且不应该报告错误。 2。上一步中,没有保存成功,用订单号去获取打印报文,返回的报文中,没有包含快递单号。如果1步中恰巧没有保存成功,使用 获取打印报文 功能,仍然得不到打印信息中的快递单号。必须使用查询面单详情功能,再去拿一遍信息,有点繁琐,并增加服务器的负担,增加开发者的工作量, 希望上面2个中,其中一个得到优化,
02-27