文档中心 > API类目 > 淘宝定制行业API

taobao.industry.unite.goods.logistics.detail (一盘货物流轨迹商家查询)

一盘货物流轨迹商家查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
is_logistics_detail_query_request IsLogisticsDetailQueryRequest 可选 入参
  • └ mail_no
  • String
  • 可选
  • YT2527508835325
  • 运单号
  • └ res_code
  • String
  • 可选
  • CN
  • 资源code,如CN

响应参数

名称 类型 示例值 描述
result IsLogisticsDetailResult 出参
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ error_code
  • String
  • 1
  • 错误编码
  • └ error_msg
  • String
  • 1
  • 错误信息
  • result
  • IsLogisticsDetailResult
  • 结果
  • └ mail_no
  • String
  • YT2527508835325
  • 运单号
  • └ status_desc
  • String
  • 已签收
  • 运单状态
  • └ feature
  • String
  • {}
  • 扩展字段
  • action_detail_list
  • IsLogisticsActionDetail []
  • 物流详情
  • └ status_desc
  • String
  • 已揽件
  • 物流状态
  • └ feature
  • String
  • {}
  • 扩展字段
  • └ tp_name
  • String
  • 安得经济配
  • 物流商
  • └ time
  • String
  • 2025-05-29 09:40:53
  • 发生时间
  • └ standerd_desc
  • String
  • 【芜湖市】安得经济配 芜湖清水美安物流园小电10仓已揽收
  • 状态详情

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
IndustryUniteGoodsLogisticsDetailRequest req = new IndustryUniteGoodsLogisticsDetailRequest();
IndustryUniteGoodsLogisticsDetailRequest.IsLogisticsDetailQueryRequest obj1 = new IndustryUniteGoodsLogisticsDetailRequest.IsLogisticsDetailQueryRequest();
obj1.setMailNo("YT2527508835325");
obj1.setResCode("CN");
req.setIsLogisticsDetailQueryRequest(obj1);
IndustryUniteGoodsLogisticsDetailResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<industry_unite_goods_logistics_detail_response>
    <result>
        <success>true</success>
        <error_code>1</error_code>
        <error_msg>1</error_msg>
        <result>
            <mail_no>YT2527508835325</mail_no>
            <status_desc>已签收</status_desc>
            <feature>{}</feature>
            <action_detail_list>
                <is_logistics_action_detail>
                    <status_desc>已揽件</status_desc>
                    <feature>{}</feature>
                    <tp_name>安得经济配</tp_name>
                    <time>2025-05-29 09:40:53</time>
                    <standerd_desc>【芜湖市】安得经济配 芜湖清水美安物流园小电10仓已揽收</standerd_desc>
                </is_logistics_action_detail>
            </action_detail_list>
        </result>
    </result>
</industry_unite_goods_logistics_detail_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

返回
顶部