文档中心 > API类目 > 全球速卖通-物流管理

aliexpress.logistics.abnormalorder.query (异常订单查询)

异常订单查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
gmt_create_start Date 可选 2021-11-11 11:11:11 订单创建时间开始
trade_order_id Number 可选 8013981389220000 交易订单号
page_size Number 可选 10 页大小
warehouse_status_list String 可选 状态编码列表
gmt_status_update_start Date 可选 2021-11-11 11:11:11 状态变更时间开始
intl_tracking_no String 可选 LT983700000NL 运单号
gmt_create_end Date 可选 2021-11-11 11:11:11 订单创建时间结束
current_page Number 可选 1 当前页
gmt_status_update_end Date 可选 2021-11-11 11:11:11 状态变更时间结束

响应参数

名称 类型 示例值 描述
result AeopWarehouseAbnormalOrderResult [] 订单详情
  • └ scheme_code
  • String
  • CAINIAO_STANDARD_FPXGZ
  • 解决方案_仓编码
  • └ trade_order_id
  • Number
  • 8013981389220000
  • 交易单号
  • └ solution_name
  • String
  • 菜鸟无忧物流-标准
  • 解决方案名称
  • └ domestic_logistic_company_name
  • String
  • 顺丰速递
  • 国内快递公司
  • └ gmt_status_update
  • Date
  • 2021-11-11 11:11:11
  • 状态变更时间
  • └ abnormal_reason
  • String
  • Inbound failure in sorting center. Security check failure, build-in battery
  • 异常原因
  • └ abnormal_code
  • String
  • 5242
  • 异常编码
  • └ intl_tracking_no
  • String
  • LT983700000NL
  • 运单号
  • └ gmt_create
  • Date
  • 2021-11-11 11:11:11
  • 订单创建时间
  • └ warehouse_name
  • String
  • 递四方广州仓-标准
  • 揽收仓名称
  • └ solution_code
  • String
  • CAINIAO_STANDARD
  • 解决方案编码
  • └ warehouse_code
  • String
  • FPXGZ
  • 揽收仓编码
  • └ logistic_detail_url
  • String
  • http://xxxxx
  • 物流详情链接
  • └ order_status_name
  • String
  • 入库失败
  • 订单状态名称
  • └ cancel_status_code
  • String
  • init
  • 取消状态编码
  • └ payment_status_code
  • String
  • 支付状态编码
  • └ unreachable_insured
  • Boolean
  • false
  • 不可达保险
  • └ und_express_mail_no
  • String
  • 退回运单号
  • └ forbidden_audit_result
  • String
  • 禁运审核结果
  • └ order_status_code
  • String
  • warehouse_reject_goods
  • 订单状态编码
  • └ cancel_status_name
  • String
  • 取消状态名称
  • └ payment_status_name
  • String
  • 支付状态名称
  • └ id
  • Number
  • 21533210000
  • id
  • └ domestic_logistic_tracking_no
  • String
  • SF98370680000
  • 国内运单号
  • └ high_value_insure
  • Boolean
  • true
  • 高货值保险
  • └ re_high_value_insure
  • Boolean
  • false
  • 逆袭高货值保险
error_desc String 错误描述
total_page Number 1 总页数
total_count Number 1 总条数
current_page Number 1 当前页
is_success String true 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressLogisticsAbnormalorderQueryRequest req = new AliexpressLogisticsAbnormalorderQueryRequest();
req.setGmtCreateStart(StringUtils.parseDateTime("2021-11-11 11:11:11"));
req.setTradeOrderId(8013981389220000L);
req.setPageSize(10L);
req.setWarehouseStatusList("");
req.setGmtStatusUpdateStart(StringUtils.parseDateTime("2021-11-11 11:11:11"));
req.setIntlTrackingNo("LT983700000NL");
req.setGmtCreateEnd(StringUtils.parseDateTime("2021-11-11 11:11:11"));
req.setCurrentPage(1L);
req.setGmtStatusUpdateEnd(StringUtils.parseDateTime("2021-11-11 11:11:11"));
AliexpressLogisticsAbnormalorderQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_logistics_abnormalorder_query_response>
    <result>
        <aeop_warehouse_abnormal_order_result>
            <scheme_code>CAINIAO_STANDARD_FPXGZ</scheme_code>
            <trade_order_id>8013981389220000</trade_order_id>
            <solution_name>菜鸟无忧物流-标准</solution_name>
            <domestic_logistic_company_name>顺丰速递</domestic_logistic_company_name>
            <gmt_status_update>2021-11-11 11:11:11</gmt_status_update>
            <abnormal_reason>Inbound failure in sorting center. Security check failure, build-in battery</abnormal_reason>
            <abnormal_code>5242</abnormal_code>
            <intl_tracking_no>LT983700000NL</intl_tracking_no>
            <gmt_create>2021-11-11 11:11:11</gmt_create>
            <warehouse_name>递四方广州仓-标准</warehouse_name>
            <solution_code>CAINIAO_STANDARD</solution_code>
            <warehouse_code>FPXGZ</warehouse_code>
            <logistic_detail_url>http://xxxxx</logistic_detail_url>
            <order_status_name>入库失败</order_status_name>
            <cancel_status_code>init</cancel_status_code>
            <payment_status_code></payment_status_code>
            <unreachable_insured>false</unreachable_insured>
            <und_express_mail_no></und_express_mail_no>
            <forbidden_audit_result></forbidden_audit_result>
            <order_status_code>warehouse_reject_goods</order_status_code>
            <cancel_status_name></cancel_status_name>
            <payment_status_name></payment_status_name>
            <id>21533210000</id>
            <domestic_logistic_tracking_no>SF98370680000</domestic_logistic_tracking_no>
            <high_value_insure>true</high_value_insure>
            <re_high_value_insure>false</re_high_value_insure>
        </aeop_warehouse_abnormal_order_result>
    </result>
    <error_desc></error_desc>
    <total_page>1</total_page>
    <total_count>1</total_count>
    <current_page>1</current_page>
    <is_success>true</is_success>
</aliexpress_logistics_abnormalorder_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

返回
顶部