文档中心 > API类目 > 淘天物流API

qimen.taobao.logistics.express.order.query (订单信息查询)

查询物流单的信息,比如包裹重量等信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
biz_code String 必须 1234343 单据标识
mail_no String 必须 2342343 运单号
tms_cp_code String 必须 SF 快递公司资源编码

响应参数

名称 类型 示例值 描述
success Boolean true 系统成功失败 true|false
error_code String 100001 错误码
error_message String 系统错误 错误码描述
is_retry Boolean true 是否可重试
data TmsOrderQueryResponse 详细数据
  • └ biz_code
  • String
  • 1234343
  • 单据标识
  • └ mail_no
  • String
  • 2342343
  • 运单号
  • └ tms_cp_code
  • String
  • SF
  • 快递公司资源编码
  • └ weight
  • String
  • 12.34
  • 包裹重量,单位g,小数点后两位
  • └ abnormal_type
  • String
  • 0
  • 无包裹重量或者包裹不准确的类型 0-包裹重量有效(默认有效)1-无包裹重量 2-包裹重量不准确
  • └ abnormal_desc
  • String
  • 无称重记录
  • 无包裹重量或者包裹不准确的原因

请求示例

{"biz_code":"1234343","mail_no":"2342343","tms_cp_code":"SF"}

响应示例

{
    "success":true,
    "error_code":"100001",
    "error_message":"系统错误",
    "is_retry":true,
    "data":{
        "biz_code":"1234343",
        "mail_no":"2342343",
        "tms_cp_code":"SF",
        "weight":"12.34",
        "abnormal_type":"0",
        "abnormal_desc":"无称重记录"
    }
}

验签示例


                                

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部