淘天物流快递轨迹查询
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| supplier_id | String | 必须 | 820282020 | 淘天服务商id | |
| delivery_code | String | 必须 | 10000 | 物流公司(资源) | |
| mail_no | String | 必须 | 10000 | 运单号 | |
| biz_code | String | 可选 | 10000 | 单据编码 | |
| type | String | 可选 | SELLER | 是否为原始值 ORIGIN:原始轨迹(默认) SELLER:消费者端展示轨迹 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| success | Boolean | true | 系统成功失败 |
| error_code | String | 10000 | 响应码 |
| error_message | String | 系统错误 | 响应信息 |
| is_retry | Boolean | true | 是否可重试 |
| data | TmsTraceQueryResponse | 轨迹信息 | |
|
{"delivery_code":"10000","biz_code":"10000","type":"SELLER","supplier_id":"820282020","mail_no":"10000"}
{
"success":true,
"error_code":"10000",
"error_message":"系统错误",
"is_retry":true,
"data":{
"traces":[
{
"trace":{
"operator":{
"operator_mobile":"18****",
"operator_name":"张三",
"operator_code":"123434"
},
"site":{
"site_sub_type":"1",
"site_type":"1",
"site_name":"杭州站点",
"site_code":"123343"
},
"address":{
"address":"不包含省市区街道的详细地址",
"street":"仓前街道",
"district":"余杭区",
"city":"杭州市",
"province":"浙江省",
"country":"中国"
},
"detail":{
"predict_next_node_time":"2024-05-04 00:23:23",
"predict_delivery_time":"2024-05-04 00:23:23",
"error_msg":"因***无法派送",
"error_code":"1002",
"operate_desc":"订单在***揽收",
"display_action":"揽收中",
"operate_action":"TMS_COLLECT",
"operate_time":"2024-05-04 00:23:23"
}
}
}
],
"mail_no":"10000",
"biz_code":"10000"
}
}
{"error_message":"Illegal request","success":"false","error_code":"sign-check-failure"}
| 错误码 | 错误描述 | 解决方案 |
|---|