query order details
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param1 | FindOrderRequestTopDTO | 必须 | param1 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | OrderDTO | data | |
|
|||
is_success | Boolean | true | is_success |
error_result_message | String | 1111 | error_result_message |
error_result_code | String | 11 | error_result_code |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressLocalLogisticsOrderInfoQueryRequest req = new AliexpressLocalLogisticsOrderInfoQueryRequest(); AliexpressLocalLogisticsOrderInfoQueryRequest.FindOrderRequestTopDTO obj1 = new AliexpressLocalLogisticsOrderInfoQueryRequest.FindOrderRequestTopDTO(); obj1.setLogisticsOrderId("BP10000000018002"); req.setParam1(obj1); AliexpressLocalLogisticsOrderInfoQueryResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
<aliexpress_local_logistics_order_info_query_response> <data> <parcel> <quantity>1</quantity> <parcel_type_code>BOX</parcel_type_code> <width>1</width> <length>1</length> <weight>18.5</weight> <height>1</height> </parcel> <logistics_order_id>BP10000000018002</logistics_order_id> <logistics_channel_order_id>BP10000000018002</logistics_channel_order_id> <trade_order_id>8143812362060033</trade_order_id> <tracking_code>123456789</tracking_code> <shipping_method_id>2</shipping_method_id> <logistics_channel_id>2</logistics_channel_id> <receipt_address> <first_name>Nome</first_name> <last_name>Sobrenome</last_name> <city>San Paulo</city> <federal_tax_id>97586646112</federal_tax_id> <country>Brasil</country> <zip_code>04012-080</zip_code> <state>SP</state> <address>Rua Dr Amancio de Carvalho</address> <address_number>110</address_number> <email>email@xxx.com</email> <cell_phone>11987654321</cell_phone> <additional>Floor 5</additional> </receipt_address> <status>1</status> <sender_address> <first_name>Nome</first_name> <last_name>Sobrenome</last_name> <state>San Paulo</state> <zip_code>04012-080</zip_code> <address>street</address> <address_number>110</address_number> <email>test@123.com</email> <cell_phone>4341341</cell_phone> <city>São Paulo</city> <country>Brazil</country> </sender_address> <tracking_url>http://status.ondeestameupedido.com/tracking/6081fde1e6f9bdb144be7ee34bc2190c6ac8ff12</tracking_url> <logistics_channel_name>PEKAGI</logistics_channel_name> <invoice> <invoice_series>186</invoice_series> <invoice_number>772611000</invoice_number> <invoice_date>2017-11-12T12:00:00.000-02:00</invoice_date> <invoice_total_value>123.0</invoice_total_value> <invoice_key>01234567890123456789012345678901234567891234</invoice_key> </invoice> <products> <product_d_t_o> <weight>1</weight> <length>1</length> <width>1</width> <height>1</height> <price>1.1</price> <quantity>1</quantity> <sku_id>123</sku_id> </product_d_t_o> </products> </data> <is_success>true</is_success> <error_result_message>1111</error_result_message> <error_result_code>11</error_result_code> </aliexpress_local_logistics_order_info_query_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|