文档中心 > API类目 > ICBU-物流

alibaba.onetouch.logistics.express.order.list.query (国际站物流单列表查询)

ISV分页查询国际站账号下的物流订单

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_query ExpressOrderPageQuery 可选 请求参数
  • └ page_size
  • Number
  • 必须
  • 20
  • 页面数据大小
  • └ current_page
  • Number
  • 必须
  • 1
  • 当前页
  • └ order_number
  • String
  • 可选
  • ALS00214464488
  • 物流订单号

响应参数

名称 类型 示例值 描述
result Result 结果
  • └ msg
  • String
  • demo
  • 异常信息
  • data
  • Paging
  • 数据
  • └ total
  • Number
  • 13237
  • 总数
  • └ total_page
  • Number
  • 662
  • 总页数
  • data_list
  • ExpressOrderResultDto []
  • 订单数据
  • └ place_order_time
  • Date
  • 1537412349000
  • 下单时间
  • └ order_number
  • String
  • 2009390134
  • 订单号
  • └ freight_amount
  • String
  • 0.02
  • 运费金额
  • └ trade_biz_id
  • String
  • 93960702716709
  • 交易单号
  • └ freight_currency
  • String
  • CNY
  • 运费币种
  • └ destination_country_code
  • String
  • US
  • 目的国编码
  • └ order_status
  • String
  • 创建成功
  • 订单状态
  • └ detail_url
  • String
  • https://scm.alibaba.com/luyou/express/detail.htm?id=9044
  • 详情链接
  • └ logistics_type
  • String
  • EXPRESS_DTD
  • 物流类型
  • └ page_size
  • Number
  • 20
  • 每页数据大小
  • └ current_page
  • Number
  • 1
  • 当前页
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ result_code
  • Number
  • 200
  • 异常码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaOnetouchLogisticsExpressOrderListQueryRequest req = new AlibabaOnetouchLogisticsExpressOrderListQueryRequest();
AlibabaOnetouchLogisticsExpressOrderListQueryRequest.ExpressOrderPageQuery obj1 = new AlibabaOnetouchLogisticsExpressOrderListQueryRequest.ExpressOrderPageQuery();
obj1.setPageSize(20L);
obj1.setCurrentPage(1L);
obj1.setOrderNumber("ALS00214464488");
req.setParamQuery(obj1);
AlibabaOnetouchLogisticsExpressOrderListQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_onetouch_logistics_express_order_list_query_response>
    <result>
        <msg>demo</msg>
        <data>
            <total>13237</total>
            <total_page>662</total_page>
            <data_list>
                <express_order_result_dto>
                    <place_order_time>1537412349000</place_order_time>
                    <order_number>2009390134</order_number>
                    <freight_amount>0.02</freight_amount>
                    <trade_biz_id>93960702716709</trade_biz_id>
                    <freight_currency>CNY</freight_currency>
                    <destination_country_code>US</destination_country_code>
                    <order_status>创建成功</order_status>
                    <detail_url>https://scm.alibaba.com/luyou/express/detail.htm?id=9044</detail_url>
                    <logistics_type>EXPRESS_DTD</logistics_type>
                </express_order_result_dto>
            </data_list>
            <page_size>20</page_size>
            <current_page>1</current_page>
        </data>
        <success>true</success>
        <result_code>200</result_code>
    </result>
</alibaba_onetouch_logistics_express_order_list_query_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

返回
顶部