获取我们支持的所有运输商并通过运单号自动检测运输商。为了查询更准确,我们建议您在调用的时候填上运输商简码。
URI | Method | Description |
---|---|---|
GET /carriers | GET | 列出所有运输商以及在TrackingMore系统中相应运输商简码 |
POST /carriers/detect | POST | 通过运单号检测运输商 |
返回一个运单号所匹配的运营商列表
Content-Type: application/json
Trackingmore-Api-Key: YOUR_API_KEY
Param | Description |
---|---|
tracking_number | The tracking code for which you are trying to find a carier. Required , E.g. RN123456789CN . |
{
"tracking_number": "RN123456789CN"
}
200
{
"meta": {
"code": 200,
"type": "Success",
"message": "Success"
},
"data": [{
"name": "China post",
"code": "china-post"
}]
}