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) | 订单号. |
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挂号小包"
}
}