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 | 描述 |
---|---|
tracking_number | 快遞單號 |
carrier_code | 運輸商簡碼 |
destination_code (optional) | 目標國家/地區代碼 (兩個字元). |
tracking_ship_date (optional) | 寄件日期,格式為20181001(年月日),部分運輸商(如德國郵政)要求填寫發件日期才可以查詢物流信息,故查詢此類運輸商時需要傳此參數。 |
tracking_postal_code (optional) | 收件地郵編,部分運輸商(如Mondial Relay法國快遞)要求填寫郵編才可以查詢物流信息,故查詢此類運輸商時需要傳該參數。 |
tracking_account_number (optional) | 賬戶號,部分快遞要求填寫賬戶號才可以查詢物流,故查詢此類快遞時需要傳該參數 |
specialNumberDestination (optional) | 目的國參數,部分運輸商要求填寫目的國家才可以查詢物流,故查詢此類快遞時需要傳該參數 |
order (optional) | Text field for order ID. |
order_create_time (optional) | 下單時間(eg:2017/8/27 16:51). |
lang (optional) | 返回語言類型 (僅當信使官方網站支援時)。.瞭解更多資訊 |
auto_correct (optional) | 如果將值設置為 1, 系統將不會自動校正信使。. |
comment (optional) | 備註 |
{
"tracking_number": "LS912989618CN",
"carrier_code": "china-ems",
"destination_code": "US",
"order": "12645654",
"order_create_time": "2017/8/27 16:51",
"comment": "备注"
}
200
{
"meta": {
"code": 200,
"type": "Success",
"message": "Success"
},
"data": {
"items": [{
"id": "f1e0645c3288bae10b8ab6ad89ca187b",
"tracking_number": "LS912989618CN",
"carrier_code": "china-ems",
"order_create_time": "2017\/8\/27 16:51",
"status": "transit",
"original_country": "China",
"destination_country": "United States",
"itemTimeLength": 11,
"stayTimeLength": 4,
"service_code": null,
"origin_info": {
"ItemReceived": "2018-04-07 16:45:00",
"ItemDispatched": null,
"DepartfromAirport": null,
"ArrivalfromAbroad": "2018-04-14 17:07:00",
"CustomsClearance": null,
"DestinationArrived": null,
"weblink": "http:\/\/www.ems.com.cn\/",
"phone": "11183",
"carrier_code": "china-ems",
"trackinfo": [{
"Date": "2018-04-14 17:07:00",
"StatusDescription": "到达处理中心,来自中国 郑州",
"Details": "美国",
"checkpoint_status": "transit"
}, {
"Date": "2018-04-07 21:18:37",
"StatusDescription": "离开郑州市 发往旧金山",
"Details": "郑州市",
"checkpoint_status": "transit"
}, {
"Date": "2018-04-07 16:45:00",
"StatusDescription": "中国邮政速递物流股份有限公司河南省国际速递分公司五已收件(揽投员姓名:,联系电话:)",
"Details": "郑州市",
"checkpoint_status": "transit"
}]
},
"destination_info": {
"ItemReceived": "2018-04-07 16:45",
"ItemDispatched": null,
"DepartfromAirport": null,
"ArrivalfromAbroad": "2018-04-16 20:01",
"CustomsClearance": null,
"DestinationArrived": null,
"weblink": "http:\/\/www.usps.com\/",
"phone": "1-800-275-8777",
"carrier_code": "usps",
"trackinfo": [{
"Date": "2018-04-17 22:30",
"StatusDescription": "Arrived at USPS Regional Destination Facility",
"Details": "DES MOINES IA NETWORK DISTRIBUTION CENTER",
"checkpoint_status": "transit"
}, {
"Date": "2018-04-17 00:00",
"StatusDescription": "In Transit to Next Facility",
"Details": "",
"checkpoint_status": "transit"
}, {
"Date": "2018-04-16 20:01",
"StatusDescription": "Arrived at USPS Regional Facility",
"Details": "SAN JOSE CA DISTRIBUTION CENTER",
"checkpoint_status": "transit"
}, {
"Date": "2018-04-14 17:07",
"StatusDescription": "Processed Through Facility",
"Details": "ISC SAN FRANCISCO (USPS)",
"checkpoint_status": "transit"
}, {
"Date": "2018-04-07 17:00",
"StatusDescription": "Processed Through Facility",
"Details": "ZHENGZHOU EMS,CHINA",
"checkpoint_status": "transit"
}, {
"Date": "2018-04-07 16:45",
"StatusDescription": "Acceptance",
"Details": "CHINA",
"checkpoint_status": "transit"
}, {
"Date": "2018-04-07 16:45",
"StatusDescription": "Origin Post is Preparing Shipment",
"Details": "",
"checkpoint_status": "transit"
}]
},
"lastEvent": "Arrived at USPS Regional Destination Facility,DES MOINES IA NETWORK DISTRIBUTION CENTER,2018-04-17 22:30",
"lastUpdateTime": "2018-04-17 22:30"
}]
}
}