TrackingMore API

API 调用接口 

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 获取航空运单编号的跟踪结果

列出单个运单号物流信息

https://api.trackingmore.com/v2/trackings/{carrier_code}/{tracking_number}

Request E.g.

E.g.

https://api.trackingmore.com/v2/trackings/4px/300403513351

 

返回指定语言类型(仅当官网支持时可用).了解更多信息

E.g.

https://api.trackingmore.com/v2/trackings/4px/300403513351/en

Headers

  • Content-Type: application/json
    Trackingmore-Api-Key: YOUR_API_KEY

Reponse Body

  • {
      "meta":{
        "code":200,
        "type":"Success",
        "message":"Success"
      },
      "data":{
        "id":"a543163dd2474af66f64c48e3085cdfa",
        "tracking_number":"300403513351",
        "carrier_code":"4px",
        "status":"delivered",
        "created_at":"2018-04-16T06:30:02+00:00",
        "updated_at":"2018-04-16T06:30:02+00:00",
        "order_create_time":"2018-04-01 10:08",
        "customer_email":[
          "[email protected]"
        ],
        "title":"cute pillow",
        "order_id":"#0002",
        "comment":null,
        "customer_name":"Karen Ng",
           "archived":false,
        "original_country":"",
        "destination_country":"United States",
        "itemTimeLength":12,
        "stayTimeLength":2,
        "origin_info":{
          "ItemReceived":"2018-04-02 19:17:08",
          "ItemDispatched":null,
          "DepartfromAirport":"2018-04-04 11:18:00",
          "ArrivalfromAbroad":null,
          "CustomsClearance":"2018-04-06 17:30:00",
          "DestinationArrived":"2018-04-14 07:47:00",
          "weblink":null,
          "phone":null,
          "carrier_code":"4px",
          "trackinfo":[
            {
              "Date":"2018-04-14 15:12:00",
              "StatusDescription":"Shipment delivered.",
              "Details":"Paramount, CA, US",
              "checkpoint_status":"delivered"
            },{
              "Date":"2018-04-14 07:47:00",
              "StatusDescription":"OUT FOR DELIVERY",
              "Details":"Paramount, CA, US",
              "checkpoint_status":"pickup"
            },
                    ...
          ]
        },
    		service_code": "",
        "lastEvent":"Shipment delivered.,Paramount, CA, US,2018-04-14 15:12:00",
        "lastUpdateTime":"2018-04-14 15:12:00"
      }
    }
    

将您的售后物流查询体验提升到更高维度