文档中心 > Dropshipping(已废弃)

aliexpress.ds.trade.order.get (交易订单查询)

交易订单查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
order_id Number 必须 10000001 AE order id

响应参数

名称 类型 示例值 描述
result AeOrderInfoResultDTO Result object
  • └ gmt_create
  • String
  • 2018-08-28 05:39:01
  • Order creation time
  • logistics_info_list
  • AeOrderLogisticsInfo []
  • Order logistics information list
  • └ logistics_no
  • String
  • CP0_318495001
  • Logistics tracking number
  • └ logistics_service
  • String
  • EMS
  • Logistics Services
  • └ logistics_status
  • String
  • SELLER_SEND_GOODS
  • Logistics status
  • └ order_status
  • String
  • FUND_PROCESSING
  • Order Status
  • order_amount
  • SimpleMoney
  • Order amount
  • └ amount
  • String
  • 199.00
  • Amount
  • └ currency_code
  • String
  • USD
  • Currency
  • child_order_list
  • AeChildOrderInfo []
  • Sub-order list
  • └ product_id
  • Number
  • 2100000012
  • Item ID
  • └ product_name
  • String
  • John's Shoes
  • Item name
  • product_price
  • SimpleMoney
  • Item price
  • └ amount
  • String
  • 299.00
  • Amount
  • └ currency_code
  • String
  • USD
  • Currency
  • └ product_count
  • Number
  • 3
  • Item quantity
  • store_info
  • AeStoreSimpleInfo
  • Store Information
  • └ store_id
  • Number
  • 1046007
  • Store ID
  • └ store_name
  • String
  • John's Shoes Shop
  • Store name
  • └ store_url
  • String
  • https://www.aliexpress.com/store/1046007
  • Store address
rsp_msg String Sytem Error Error message
rsp_code String 404 Error code

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressDsTradeOrderGetRequest req = new AliexpressDsTradeOrderGetRequest();
req.setOrderId(10000001L);
AliexpressDsTradeOrderGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_ds_trade_order_get_response>
    <result>
        <gmt_create>2018-08-28 05:39:01</gmt_create>
        <logistics_info_list>
            <ae_order_logistics_info>
                <logistics_no>CP0_318495001</logistics_no>
                <logistics_service>EMS</logistics_service>
            </ae_order_logistics_info>
        </logistics_info_list>
        <logistics_status>SELLER_SEND_GOODS</logistics_status>
        <order_status>FUND_PROCESSING</order_status>
        <order_amount>
            <amount>199.00</amount>
            <currency_code>USD</currency_code>
        </order_amount>
        <child_order_list>
            <ae_child_order_info>
                <product_id>2100000012</product_id>
                <product_name>John&apos;s Shoes</product_name>
                <product_price>
                    <amount>299.00</amount>
                    <currency_code>USD</currency_code>
                </product_price>
                <product_count>3</product_count>
            </ae_child_order_info>
        </child_order_list>
        <store_info>
            <store_id>1046007</store_id>
            <store_name>John&apos;s Shoes Shop</store_name>
            <store_url>https://www.aliexpress.com/store/1046007</store_url>
        </store_info>
    </result>
    <rsp_msg>Sytem Error</rsp_msg>
    <rsp_code>404</rsp_code>
</aliexpress_ds_trade_order_get_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部