TrackingMore API

Trackings 

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 獲取航空運單編號的跟蹤結果

更新跟蹤專案

https://api.trackingmore.com/v2/trackings/{carrier_code}/{tracking_number}

Request E.g.

E.g.

https://api.trackingmore.com/v2/trackings/sto/402934299065

Headers

  • Content-Type: application/json
    Trackingmore-Api-Key: YOUR_API_KEY

Parameters

Param描述
title (optional)產品名稱
logistics_channel (optional)物流渠道
customer_name (optional)客戶名稱.
customer_email (optional)客戶郵箱.
customer_phone (optional)客戶電話號碼.
order_id (optional)訂單 ID.
destination_code (optional) 目標國家/地區代碼 (兩個字元).檢查國家代碼清單
archived (optional)Modify whether a single number is archived by passing a true/false string.
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.

Request Body

  • {
    	"title": "new title",
    	"logistics_channel": "4PX挂号小包",
    	"customer_name": "sandy",
    	"customer_email": "[email protected]",
    	"customer_phone":"+86123456789",
    	"order_id": "986574521568",
    	"destination_code": "CN",
    	"archived": "true",
    	"status": 7
    }
    				
  • Reponse Body

    {
    	"meta": {
    		"code": 200,
    		"type": "Success",
    		"message": "Success"
    	},
    	"data": {
    		"id": "3d300c6f34a6a9711166cc44e4cc096a",
    		"tracking_number": "402934299065",
    		"carrier_code": "sto",
    		"created_at": "2018-04-18T14:34:30+08:00",
    		"updated_at": "2018-04-18T14:32:27+08:00",
    		"customer_email": "[email protected]",
    		"customer_name": "sandy",
    		"order_id": "986574521568",
    		"title": "new title",
    		"destination_code": "CN",
    		"customer_phone": "+86123456789",
    		"archived": "true",
    		"status": "7",
    		"logistics_channel": "4PX挂号小包"
    	}
    }
    

轉變您的
今天的貨件追蹤

想要自動更新貨件或提高交付效率?借助 TrackingMore 強大的 API,您將擁有觸手可及的所有工具,以改變客戶的售後旅程。