子单申明发货
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_aeop_seller_shipment_sub_trade_order_request | AeopSellerShipmentSubTradeOrderRequest | 必须 | - | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | AeopSellerShipmentSubTradeOrderResponse | - | 结果 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressLogisticsOrderShipmentRequest req = new AliexpressLogisticsOrderShipmentRequest(); AliexpressLogisticsOrderShipmentRequest.AeopSellerShipmentSubTradeOrderRequest obj1 = new AliexpressLogisticsOrderShipmentRequest.AeopSellerShipmentSubTradeOrderRequest(); List<AliexpressLogisticsOrderShipmentRequest.AeopSellerShipmentSubTradeOrderDto> list3 = new ArrayList<AliexpressLogisticsOrderShipmentRequest.AeopSellerShipmentSubTradeOrderDto>(); AliexpressLogisticsOrderShipmentRequest.AeopSellerShipmentSubTradeOrderDto obj4 = new AliexpressLogisticsOrderShipmentRequest.AeopSellerShipmentSubTradeOrderDto(); list3.add(obj4); obj4.setIoss( "ioss" ); obj4.setSendType( "part" ); List<AliexpressLogisticsOrderShipmentRequest.AeopShipmentDto> list7 = new ArrayList<AliexpressLogisticsOrderShipmentRequest.AeopShipmentDto>(); AliexpressLogisticsOrderShipmentRequest.AeopShipmentDto obj8 = new AliexpressLogisticsOrderShipmentRequest.AeopShipmentDto(); list7.add(obj8); obj8.setLogisticsNo( "SF7551234567890" ); obj8.setServiceName( "CAINIAO_STANDARD" ); obj8.setTrackingWebSite( "https://www.sf-express.com/cn/sc/dynamic_function/waybill/#search/bill-number/SF7551234567890" ); obj8.setActualCarrier( "EMS" ); obj8.setPackageType( "包裹类型" ); list5.setShipmentList(list7); obj4.setSubTradeOrderIndex(12345601L); obj1.setSubTradeOrderList(list3); obj1.setTradeOrderId(123456L); req.setParamAeopSellerShipmentSubTradeOrderRequest(obj1); AliexpressLogisticsOrderShipmentResponse 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 | < aliexpress_logistics_order_shipment_response > < result > < error_code >P-0-0-2-304-09</ error_code > < error_msg >系统错误</ error_msg > < sub_trade_order_list > < aeop_seller_shipment_sub_trade_order_dto > < error_code >P-0-0-2-304-09</ error_code > < error_msg >该子单已经申明发货过了</ error_msg > < ioss >-</ ioss > < send_type >all</ send_type > < shipment_list > < aeop_shipment_dto > < error_code >P-0-0-2-304-09</ error_code > < error_msg >系统错误</ error_msg > < logistics_no >SF7551234567890</ logistics_no > < service_name >CAINIAO_STANDARD</ service_name > < tracking_web_site >https://www.sf-express.com/cn/sc/dynamic_function/waybill/#search/bill-number/SF7551234567890</ tracking_web_site > < actual_carrier >EMS</ actual_carrier > </ aeop_shipment_dto > </ shipment_list > < sub_trade_order_index >12345601</ sub_trade_order_index > </ aeop_seller_shipment_sub_trade_order_dto > </ sub_trade_order_list > < success >true</ success > < trade_order_id >123456</ trade_order_id > </ result > </ aliexpress_logistics_order_shipment_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 > |
错误码 | 错误描述 | 解决方案 |
---|