https://api.trackingmore.com/v2/trackings/post
Headers
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挂号小包"
}
}