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) | 订单号. |
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"
}
]
}
}