国际站订单查询接口
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| e_trade_id | String | 必须 | xxxxxxxx | 订单号 | |
| data_select | String | 可选 | draft_role |
数据选择器都参数英文,分隔 statusAction,draft_role,snapshot_product |
|
| language | String | 可选 | en_US或zh_CN | 多语言 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| value | TradeEcologyOrder | order | 订单(order info) |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSellerOrderGetRequest req = new AlibabaSellerOrderGetRequest();
req.setETradeId("xxxxxxxx");
req.setDataSelect("draft_role");
req.setLanguage("en_US或zh_CN");
AlibabaSellerOrderGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
<alibaba_seller_order_get_response>
<value>
<buyer>
<country>US</country>
<full_name>jack ma</full_name>
<e_account_id>fsfds3124</e_account_id>
<immutable_eid>sdfbgfewvdcs</immutable_eid>
</buyer>
<create_date>
<timestamp>123456789</timestamp>
<format_date>MMM. d, yyyy, HH:mm:ss z.</format_date>
</create_date>
<export_service_type>onetouch_service</export_service_type>
<inspection_service_amount>
<amount>123.00</amount>
<currency>USD</currency>
</inspection_service_amount>
<order_products>
<trade_ecology_order_product>
<name>test</name>
<product_image>//fsfffs.jpg</product_image>
<quantity>12.0000</quantity>
<sku_attributes>
<sku_attribute>
<key>color</key>
<value>red</value>
</sku_attribute>
</sku_attributes>
<sku_id>33</sku_id>
<unit>piece</unit>
<unit_price>
<amount>12.0000</amount>
<currency>USD</currency>
</unit_price>
<product_id>123423</product_id>
<sku_code>T14234</sku_code>
<model_number>RS3434</model_number>
<id>dadadadada</id>
</trade_ecology_order_product>
</order_products>
<product_total_amount>
<amount>12.00</amount>
<currency>USD</currency>
</product_total_amount>
<remark>hello</remark>
<seller>
<full_name>test lee</full_name>
<login_id>xxx</login_id>
<is_admin>true</is_admin>
<email>12343@test.com</email>
<e_account_id>fsfs312</e_account_id>
<immutable_eid>fsdfssdfsfs</immutable_eid>
</seller>
<shipment_fee>
<amount>1</amount>
<currency>USD</currency>
</shipment_fee>
<shipment_method>air</shipment_method>
<shipping_address>
<address>xx</address>
<alternate_address>xx</alternate_address>
<city>xx</city>
<contact_person>xx</contact_person>
<country>xx</country>
<fax>
<area>xx</area>
<country>xx</country>
<number>xx</number>
</fax>
<mobile>
<area>xx</area>
<country>xx</country>
<number>xx</number>
</mobile>
<port>1233</port>
<province>xx</province>
<telephone>
<area>xx</area>
<country>xx</country>
<number>1233</number>
</telephone>
<zip>3000015</zip>
<country_code>xxx</country_code>
<port_code>xxx</port_code>
<province_code>xxx</province_code>
<city_code>xxx</city_code>
</shipping_address>
<total_amount>
<amount>2345.00</amount>
<currency>USD</currency>
</total_amount>
<trade_id>12345</trade_id>
<trade_status>trade_success</trade_status>
<contract_version>12345432</contract_version>
<status_action>
<actions>
<action>
<value>http://xxxxxxx</value>
<name>view_payment_link</name>
<render_name>查看支付链接</render_name>
</action>
</actions>
<status>trade_success</status>
</status_action>
<shipment_insurance_fee>
<currency>USD</currency>
<amount>1100</amount>
</shipment_insurance_fee>
<trade_term>FOB</trade_term>
<shipment_date>
<type>relative</type>
<duration>2</duration>
<date>
<format_date>MMM. d, yyyy, HH:mm:ss z.</format_date>
<timestamp>213453</timestamp>
</date>
</shipment_date>
<advance_amount>
<currency>USD</currency>
<amount>2343</amount>
</advance_amount>
<balance_amount>
<currency>USD</currency>
<amount>2343</amount>
</balance_amount>
<fulfillment_channel>TAD</fulfillment_channel>
<list_remark>xxx</list_remark>
<carrier>
<code>FEDEX</code>
<name>Express FedEx IP(WTD)</name>
</carrier>
<pay_step>ADVANCE</pay_step>
<adjust_amount>
<currency>USD</currency>
<amount>10.00</amount>
</adjust_amount>
<discount_amount>
<currency>USD</currency>
<amount>15.00</amount>
</discount_amount>
<biz_code>1020203和1020206,属于RFP类</biz_code>
<channel_refer_id>12345</channel_refer_id>
<draft_role>seller 或 buyer</draft_role>
<item_status>normal / delete</item_status>
<source>42432</source>
<dropshipping>true</dropshipping>
<semi_manage>true</semi_manage>
</value>
</alibaba_seller_order_get_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|