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 |
快遞代碼. 檢查 快遞代碼 |
title (optional) | 產品名稱 |
logistics_channel (optional) | 物流渠道 |
customer_name (optional) | 客戶名稱. |
customer_email (optional) | 客戶郵箱. |
order_id (optional) | 訂單 ID. |
destination_code (optional) | 目標國家/地區代碼 (兩個字元).檢查國家代碼清單 |
status (optional) | Change status.You can only change the state value to 4, 7 or 8. 4 means delivered, 7 means exception, 8 means return to the original status. |
archived (optional) | Batch edit the single number to archive by passing a true/false string. |
[
{
"tracking_number": "RP893531375SG",
"carrier_code": "singapore-post",
"title": "new title",
"customer_name": "sandy",
"customer_email": "[email protected]",
"order_id": "986574521568",
"destination_code": "CN",
"status": 7,
"archived": "true",
"logistics_channel": "4PX挂号小包"
}, {
"tracking_number": "LK894734223CN",
"carrier_code": "china-ems",
"customer_phone": "+22222222",
"title": "new title",
"customer_name": "sandy",
"customer_email": "[email protected]",
"order_id": "986574521568",
"destination_code": "CN",
"status": 7,
"archived": "false",
"logistics_channel": "4PX挂号小包"
}
]
200
{
"meta":{
"code": 200,
"type": "Success",
"message": "Success"
},
"data":{
"submitted": 2,
"updated": 2,
"trackings":[
{
"id": "084ccfaaa13ee78669e400252332cc4a",
"tracking_number": "RP893531375SG",
"carrier_code": "singapore-post",
"created_at": "2017-07-25T17:39:40+08:00",
"updated_at": "1970-01-01T08:00:00+08:00",
"customer_email": "[email protected]",
"customer_name": "sandy",
"order_id": "986574521568",
"title": "new title",
"destination_code": "CN",
"logistics_channel": "4PX挂号小包",
"archived": "true"
},{
"id": "5c8f48514e614777a448519242bb24fb",
"tracking_number": "LK894734223CN",
"carrier_code": "china-ems",
"created_at": "2017-07-25T17:39:40+08:00",
"updated_at": "1970-01-01T08:00:00+08:00",
"customer_email": "[email protected]",
"customer_name": "sandy",
"order_id": "986574521568",
"title": "new title",
"destination_code": "CN",
"logistics_channel": "4PX挂号小包",
"archived": "false"
}
]
}
}