Trackings

Create trackings, update trackings, and get tracking results.

Pro Tip!

You can always use/:id to replace /:slug/:tracking_number.
e.g. DELETE /trackings/:id


DELETE /trackings/:slug/:tracking_number

Headers

aftership-api-key: YOUR_API_KEY
Content-Type: application/json

Headers

HTTP/1.1 200 OK
Content-Type: application/json
Connection: keep-alive
Date: Mon, 10 Jun 2013 07:38:02 GMT

Attributes

Attributes
AttributeTypeDescription
trackingHash of Tracking ObjectHash describes the tracking status, with minimal attributes.
Tracking Object
AttributeTypeDescription
tracking_numberStringTracking number.
slugStringUnique code of courier. Get courier slug here

Body

{
    "meta": {
        "code": 200
    },
    "data": {
        "tracking": {
            "id": "5b7658cec7c33c0e007de3c5",
            "tracking_number": "772857780801111",
            "slug": "fedex",
            "tracking_account_number": null,
            "tracking_origin_country": null,
            "tracking_destination_country": null,
            "tracking_key": null,
            "tracking_postal_code": null,
            "tracking_ship_date": null,
            "tracking_state": null
        }
    }
}