TrackingMore API

Trackings 

Manage your trackings

URI Method Description
POST /trackings/post POST Create a tracking.
GET /trackings/{carrier_code}/{tracking_number} GET Get tracking results of a single tracking.
PUT /trackings/{carrier_code}/{tracking_number} PUT Modify order id, order title, shipment status and other additional fields of a single tracking.
DELETE /trackings/{carrier_code}/{tracking_number} DELETE Delete a tracking.
POST /trackings/batch POST Create multiple trackings.
GET /trackings/get GET Get tracking results of multiple trackings.
POST /trackings/updatemore POST Modify order id, order title, shipment status and other additional fields of multiple trackings.
POST /trackings/delete POST Delete multiple trackings.
POST /trackings/realtime POST Get realtime tracking results of a single tracking.
POST /trackings/update POST Modify courier code
GET /trackings/getuserinfo GET Get account info
GET /trackings/getstatusnumber GET Get number of trackings in each package status.
POST /trackings/notupdate POST Stop updating trackings
POST /trackings/remote POST Check if a shipment is sent to remote area.
POST /trackings/costtime POST Get courier aging results
POST /trackings/aircargo POST Get tracking result of air waybill number

Create multiple trackings.

https://api.trackingmore.com/v2/trackings/batch

Headers

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

    POST /trackings/batch API interface for up to 40 waybill numbers per operation.

Parameters

ParamDescription
tracking_numberTracking number
carrier_code Courier code. Check Courier Code
destination_code (optional)Destination two character country code (eg: us, cn, ca, ru...).
title (optional)Product title
logistics_channel (optional)Logistics channel of the tracking
customer_name (optional)Customer name.
customer_email (optional)Customer email.
customer_phone (optional)Customer phone number.
order_id (optional)Order ID.
order_create_time (optional)Order Create Time(eg:2017/8/27 16:51).
tracking_ship_date(optional)Shipping date in YYYYMMDD format. Required by some couriers, such as deutsch-post
tracking_postal_code(optional)The postal code of receiver's address. Required by some couriers, such as postnl-3s
tracking_account_number(optional)Account Number
specialNumberDestination(optional)Destination Country of the shipment for a specific courier. Required by some couriers, such as postnl-3s
lang (optional)Return to language type (only when courier official website supports)..Learn more
auto_correct (optional)If you set the value to 1, our system will not automatically correct the courier..
comment (optional)Text field for comment

Request Body

  • [
      {
          "tracking_number": "RP893531375SG",
          "carrier_code": "singapore-post",
          "logistics_channel": "4PX挂号小包",
          "customer_phone": "+110110",
          "destination_code": "cn",
          "title": "title 1",
          "customer_email": "[email protected]",
          "order_id": "213456",
          "comment": "备注",
          "order_create_time": "2017/8/27 16:51",
          "lang": "en"
      },
      {
          "tracking_number": "LK894734223CN",
          "carrier_code": "china-ems",
          "logistics_channel": "4PX挂号小包",
          "customer_phone": "+22222222",
          "destination_code": "cn",
          "title": "title 1",
          "customer_email": "[email protected]",
          "order_id": "213456",
          "comment": "备注",
          "order_create_time": "2017/8/27 16:51",
          "lang": "en"
      }
    ]
                    
  • Response Body 201

    {
        "meta": {
            "code": 201,
            "type": "Created",
            "message": "The request was successful and a resource was created."
        },
        "data": {
            "submitted": 2,
            "added": 0,
            "trackings": [],
            "errors": [{
                "tracking_number": "RP893531375SG",
                "carrier_code": "singapore-post",
                "code": 4016,
                "message": "Tracking already exists."
            }, {
                "tracking_number": "LK894734223CN",
                "carrier_code": "china-ems",
                "code": 4016,
                "message": "Tracking already exists."
            }]
        }
    }
    
  • Response Body 200

    {
        "meta": {
            "code": 200,
            "type": "Success",
            "message": "Success"
        },
        "data": {
            "submitted": 2,
            "added": 2,
            "trackings": [{
                "id": "ec6150c0b7557eb3131578640e04f798",
                "tracking_number": "RP893531375SG",
                "carrier_code": "singapore-post",
                "order_create_time": "2017\/8\/27 16:51",
                "status": "pending",
                "created_at": "2018-04-18T07:26:14+00:00",
                "customer_email": "[email protected]",
                "customer_name": null,
                "customer_phone": "+110110",
                "order_id": "213456",
                "comment": "备注",
                "title": "title 1"
                "logistics_channel": "4PX挂号小包"
            }, {
                "id": "bca8dab58bac35e0658f93c09e8092ac",
                "tracking_number": "LK894734223CN",
                "carrier_code": "china-ems",
                "order_create_time": "2017\/8\/27 16:51",
                "status": "pending",
                "created_at": "2018-04-18T07:26:14+00:00",
                "customer_email": "[email protected]",
                "customer_name": null,
                "customer_phone": "+22222222",
                "order_id": "213456",
                "comment": "备注",
                "title": "title 1"
                "logistics_channel": "4PX挂号小包"
            }]
        }
    }