Manage your trackings
URI | Method | Description |
---|---|---|
POST /trackings/post | POST | 创建单个运单号 |
GET /trackings/{carrier_code}/{tracking_number} | GET | 列出单个运单号物流信息 |
PUT /trackings/{carrier_code}/{tracking_number} | PUT | 修改单个运单号附加信息。如:订单号,商品标题,快递状态等。 |
DELETE /trackings/{carrier_code}/{tracking_number} | DELETE | 删除单个运单号 |
POST /trackings/batch | POST | 创建多个运单号 |
GET /trackings/get | GET | 获取多个单号的物流信息 |
POST /trackings/updatemore | POST | 修改多个运单号附加信息。如:订单号,商品标题,快递状态等。 |
POST /trackings/delete | POST | 删除多个运单号 |
POST /trackings/realtime | POST | 获取单个运单号实时物流信息 |
POST /trackings/update | POST | 修改运输商简码 |
GET /trackings/getuserinfo | GET | 查询用户剩余额度 |
GET /trackings/getstatusnumber | GET | 获取各个状态的包裹数量 |
POST /trackings/notupdate | POST | 设置部分单号不再更新 |
POST /trackings/remote | POST | 查询收货地址是否偏远 |
POST /trackings/costtime | POST | 获取快递时效结果 |
POST /trackings/aircargo | POST | 获取航空运单编号的跟踪结果 |
Content-Type: application/json
Trackingmore-Api-Key: YOUR_API_KEY
Param | 描述 |
---|---|
track_number |
空运查询单号数组 |
lang | 查询语言 |
{"track_number":["172-28891936","172-28891936"],"lang":"en"}
Attributes | 描述 |
---|---|
track_number |
空运查询单号数组 |
weight |
总重量 |
piece |
总个数 |
origin |
始发站 |
destination |
目的站 |
status_number |
当前状态码 |
track_info |
物流信息 |
track_info -- plan_date |
预计事件发生时间 |
track_info -- actual_date |
实际事件发生时间 |
track_info -- event |
当前事件 |
track_info -- station |
当前航站 |
track_info -- flight_number |
航班号 |
track_info -- status |
当前状态 |
track_info -- piece |
当前件数 |
track_info -- weight |
当前重量 |
flight_info |
航空公司信息 |
flight_info -- plan_depart_time |
预离时间 |
flight_info -- depart_time |
起飞时间 |
flight_info -- depart_station |
出发站 |
flight_info -- plan_arrival_time |
预抵时间 |
flight_info -- arrival_time |
到达时间 |
flight_info -- arrival_station |
到达站 |
flight_info -- flight_way_station |
航站路线 |
flight_info -- last_event |
订单最新信息 |
airline_info |
空运公司的信息 |
airline_info -- name |
公司名称 |
airline_info -- url |
公司官网 |
airline_info -- track_url |
查询网址 |
200
{
"meta": {
"code": 200,
"type": "Success",
"message": "Request Success"
},
"data": {
"172-28891936": {
"track_number": "172-28891936",
"return_data": {
"weight": "1981K",
"piece": 9,
"origin": "XMN",
"destination": "MXP",
"track_info": [
{
"plan_date": "2018-04-18 20:29:00",
"actual_date": "2018-04-17 09:38:00",
"event": "Delivery",
"station": "MXP",
"flight_number": "C80066",
"status": "DLV",
"piece": "10",
"weight": ""
},
{
"plan_date": "2018-04-12 01:20:00",
"actual_date": "2018-04-11 17:41:00",
"event": "9 piece(s) accepted",
"station": "XMN",
"flight_number": "CV7493",
"status": "RCS",
"piece": "9",
"weight": ""
},
{
"plan_date": "2018-04-12 16:27:00",
"actual_date": "2018-04-11 15:56:00",
"event": "9 piece(s) arrived on CV7493",
"station": "LUX",
"flight_number": "CV7493",
"status": "ARR",
"piece": "9",
"weight": ""
}
],
"status_number": 4,
"flight_info": {
"CV7493": {
"plan_depart_time": "2018-04-12 08:20:00",
"depart_time": "2018-04-12 08:46:00",
"depart_station": "XMN",
"plan_arrival_time": "2018-04-12 16:27:00",
"arrival_time": "2018-04-11 15:56:00",
"arrival_station": "LUX"
},
"C80066": {
"plan_arrival_time": "2018-04-14 20:29:00",
"arrival_time": "2018-04-13 20:21:00",
"arrival_station": "MXP",
"plan_depart_time": "2018-04-16 20:15:00",
"depart_time": "2018-04-14 19:31:00",
"depart_station": "LUX"
}
},
"flight_way_station": [
"XMN",
"LUX",
"MXP"
],
"last_event": "2018-04-17 09:38:00, Delivery, MXP, C80066"
},
"airline_info": {
"name": "Cargolux Airlines",
"url": "https://www.cargolux.com/",
"track_url": "https://cvtnt.champ.aero/trackntrace?awbnumber=172-28891936"
}
}
}
}