"根据交易订单获取线上发货物流服务列表,线上发货物流服务仅能用于线上发货,请了解! 以下包裹信息是不支持线上发货的,获取方案可能为空: 1、长\宽\高 加起来 不能大于90; 2、长宽高最大的一条边不能大于60cm; 3、包裹重量不能超过2KG; 4、已操作线下物流发货的订单。"
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
goods_width | Number | 可选 | 1 |
|
包裹宽度 |
goods_height | Number | 可选 | 1 |
|
包裹高度 |
goods_weight | String | 可选 | 1.5 |
|
包裹重量 |
goods_length | Number | 可选 | 1 |
|
包裹长度 |
order_id | Number | 必须 | 897234324234234 | 交易订单号 | |
locale | String | 可选 | ru_RU |
|
多语言,zh_CN:中文、en_US:英语、ru_RU:俄语 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result_list | Result [] | result list | |
|
|||
error_desc | String | System error! | error description |
is_success | Boolean | true | is success |
1 2 3 4 5 6 7 8 9 10 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressLogisticsRedefiningGetonlinelogisticsservicelistbyorderidRequest req = new AliexpressLogisticsRedefiningGetonlinelogisticsservicelistbyorderidRequest(); req.setGoodsWidth(1L); req.setGoodsHeight(1L); req.setGoodsWeight( "1.5" ); req.setGoodsLength(1L); req.setOrderId(897234324234234L); req.setLocale( "ru_RU" ); AliexpressLogisticsRedefiningGetonlinelogisticsservicelistbyorderidResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | < aliexpress_logistics_redefining_getonlinelogisticsservicelistbyorderid_response > < result_list > < result > < warehouse_name >中邮北京仓</ warehouse_name > < logistics_service_name >速邮宝(中邮小包)</ logistics_service_name > < logistics_timeliness >15-50天</ logistics_timeliness > < logistics_service_id >CPAM_WLB_CPHSH</ logistics_service_id > < delivery_address >上海市徐汇区百色路1218号生产大楼一层(速卖通)</ delivery_address > < express_logistics_service >false</ express_logistics_service > < trial_result >CN?87.00</ trial_result > < other_fees > < otherfees > < amount >1.7</ amount > < name >附加费</ name > < code >other_delivery_fee</ code > < curreny >CNY</ curreny > </ otherfees > </ other_fees > < recommend_index >100</ recommend_index > < available_logistic_service_list > < logistic_service > < code >CONSO_UPGRADE</ code > < name >“满升级”合单线路</ name > </ logistic_service > </ available_logistic_service_list > </ result > </ result_list > < error_desc >System error!</ error_desc > < is_success >true</ is_success > </ aliexpress_logistics_redefining_getonlinelogisticsservicelistbyorderid_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|