1)对接方案说明:https://www.yuque.com/hengxi/gipleq/uokg0y
2)接口文档(打开后左侧列表都为相关接口):https://open.taobao.com/api.htm?docId=46424&docType=2
3)商家端揽收前置公告
菜鸟上网前置功能开放燕文、递四方全国揽收区域公告
4)商家端组包操作流程:https://files.alicdn.com/tpsservice/8cd507f4a172804532aa757de816c912.pdf
1、什么样小包可以组包?
物流小包订单状态为wait_pickup_transfer
(等待揽收转交)且未组包
的订单。
1) 小包状态可以从接口查:aliexpress.logistics.querylogisticsorderdetail( 查询物流订单信息(推荐) ),对应字段为:logistics_status
2) 小包是否已组包,用这个接口查:cainiao.global.handover.parcel.query( 获取交接单小包信息 ),对应字段为:has_been_handover(true为已组包,false为未组包)
top_user_key 传什么?
每个商家在ERP的唯一key,注意是商家级别的,同一个商家可能有多个店铺,这些店铺要用同一个key。
2、跨店铺组包要求
1) 创建小包订单时,必须要传top_user_key,且同一商家的店铺,top_user_key要相同。
2) 组包时,必须要传top_user_key,此key与创建小包是传的要一致。
3、交接单及大包状态枚举值有哪些?
https://developers.aliexpress.com/doc.htm?docId=118820&docType=13、P-088-0000-00-15-015:Some parcel order can not be create handover content",//指定的小包中部分不能组
4、指定小包中部分不能组包。
1 2 3 4 5 6 7 | { "code" : 15 , "msg" : "Remote service error" , "sub_code" : "P-088-0000-00-15-015" , "sub_msg" : "Some parcel order can not be create handover content" , //指定的小包中部分不能组包 "request_id" : "wp2otvpm5sx1" } |
错误原因及解决方案:
1)入参order_code_list为小包LP号,可从接口aliexpress.logistics.querylogisticsorderdetail 查询,对应字段为:out_order_code.
2) 入参order_code_list值为String,多个LP号用英文逗号隔开。
3)用于组包的LP号对应的物流小包揽收仓必须是已开放组包的揽收仓,具体哪些仓库已开放组包请查看商家端前置揽收公告。
5、P-088-0101-10-10-152
1 2 3 4 5 6 7 8 9 | { "error_response" :{ "code" : 15 , "msg" : "Remote service error" , "sub_code" : "P-088-0101-10-10-152" , "sub_msg" : "Sorry, system error, please try again later" , "request_id" : "4jzmt2rct76l" } } |
错误原因:使用了非中文的地址,地址信息解析异常。
解决方案:地址信息的省市区街道,请使用中文。
6、P-088-0101-10-10-021
1 2 3 4 5 6 7 8 9 | { "error_response" : { "code" : 15 , "msg" : "Remote service error" , "sub_code" : "P-088-0101-10-10-021" , "sub_msg" : "对不起,系统出错了,请稍后再试" , "request_id" : "vzjyfzpjacul" } } |
解决方案:地址信息姓名请用中文名,不少于两个字。
7、
1 2 3 4 5 6 7 8 9 | { "error_response" : { "code" : 15 , "msg" : "Remote service error" , "sub_code" : "P-088-0000-00-99-001" , "sub_msg" : "System error. Please try again later." , "request_id" : "5ocm9ztd1xqy" } } |
错误原因:top_user_key太长了
解决方案:请将top_user_key的值控制在16字符以内。
解决方案: