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 獲取快遞時效結果

創建壹個跟蹤項目

https://api.trackingmore.com/v2/trackings/post

Headers

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

Parameters

Param描述
tracking_number跟蹤編號
carrier_code 快遞代碼. 檢查 快遞代碼
destination_code (optional)目標國家/地區代碼 (兩個字元).檢查國家代碼清單
title (optional)產品名稱
logistics_channel (optional)物流渠道
customer_name (optional)客戶名稱.
customer_email (optional)客戶郵箱.
customer_phone (optional)客戶電話號碼.
order_id (optional)訂單 ID.
order_create_time (optional)下單時間(eg:2017/8/27 16:51).
tracking_ship_date(optional)寄件日期,格式為20181001(年月日),部分運輸商(如德國郵政)要求填寫發件日期才可以查詢物流信息,故查詢此類運輸商時需要傳此參數。.
tracking_postal_code(optional)收件地郵編,部分運輸商(如Mondial Relay法國快遞)要求填寫郵編才可以查詢物流信息,故查詢此類運輸商時需要傳該參數。.
tracking_account_number(optional)賬戶號,部分快遞要求填寫賬戶號才可以查詢物流,故查詢此類快遞時需要傳該參數.
tracking_destination_country(optional)目的國參數,部分運輸商要求填寫目的國家才可以查詢物流,故查詢此類快遞時需要傳該參數.
lang (optional)返回語言類型 (僅當信使官方網站支援時)。.瞭解更多資訊
auto_correct (optional)如果將值設置為 1, 系統將不會自動校正信使。.
comment (optional)備註.

Request Body

  • {
        	"tracking_number": "300403513351",
    	"carrier_code": "4px",
    	"destination_code": "us",
    	"title": "cute pillow",
    	"logistics_channel": "4PX挂号小包",
    	"customer_name": "Karen Ng",
    	"customer_email": "[email protected]",
    	"customer_phone": "86 135 3021 8545",
    	"order_id": "#0002",
    	"comment": "备注",
    	"order_create_time": "2018/04/01 10:08",
    	"lang": "en"
    }
    	
  • Reponse Body

    {
      "meta":{
        "code":200,
        "type":"Success",
        "message":"Success"
      },
      "data":{
        "id":"a543163dd2474af66f64c48e3085cdfa",
        "tracking_number":"300403513351",
        "carrier_code":"4px",
        "order_create_time":"2018/04/01 10:08",
        "status":"pending",
        "created_at":"2018-04-16T06:30:02+00:00",
        "customer_email":"[email protected]",
        "customer_name":"Karen Ng",
        "order_id":"#0002",
           "comment":"备注",
        "title":"cute pillow",
        "logistics_channel":"4PX挂号小包"
      }
    }
  • Facebook Twitter Android App Store
  • ©2014-2019 TrackingMore.All Rights Reserved.