這壹部分描述了快遞商API相關資源。
URI | Method | Description |
---|---|---|
GET /carriers | GET | 列出所有運營商 |
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"
}]
}