Skip to main content
Parcel Events Sandbox Docs

Search documentation

Type to search this documentation.

Retrieve a public tracking timeline

GET/v1/tracking/{tracking_number}Retrieve a public tracking timeline

Parameters

tracking_numberstringpathrequired

pattern ^PE-[A-Z0-9]{12}$

Responses

200Tracking timelineapplication/json
objectTrackingTimeline
eventsarray of objectrequired
Show child attributes
Show array items
idstringrequired
locationobjectrequired
Show child attributes
citystringrequired
countrystringrequired
messagestring
objectvaluerequired

const "tracking_event"

occurred_atstring · date-timerequired
shipment_idstringrequired
statusstringrequired

one of "draft", "label_purchased", "in_transit", "out_for_delivery", "delivered", "exception", "canceled"

shipmentobjectrequired
Show child attributes
created_atstring · date-timerequired
delivery_instructionsnull | string
idstringrequired
metadataobject
objectvaluerequired

const "shipment"

parcelsarray of objectrequired
Show child attributes
Show array items
contentsarray of object

maxItems 50

Show child attributes

maxItems 50

Show array items
customs_codenull | string
descriptionstringrequired
quantityintegerrequired

minimum 1

unit_valueobjectrequired
Show child attributes
amountstringrequired

pattern ^[0-9]+(\.[0-9]{2})$

currencystringrequired

pattern ^[A-Z]{3}$

height_cmnumberrequired

exclusiveMinimum 0

length_cmnumberrequired

exclusiveMinimum 0

weight_gramsintegerrequired

minimum 1

width_cmnumberrequired

exclusiveMinimum 0

recipientobjectrequired
Show child attributes
citystringrequired
companynull | string
countrystringrequired

pattern ^[A-Z]{2}$

line1stringrequired
line2null | string
namestringrequired

minLength 1

phonenull | string
postal_codestringrequired
regionnull | string
referencestringrequired
senderobjectrequiredAddress ↑
servicestringrequired

one of "economy", "express", "same_day"

statusstringrequired

one of "draft", "label_purchased", "in_transit", "out_for_delivery", "delivered", "exception", "canceled"

tracking_numberstringrequired
updated_atstring · date-timerequired
Example response
{
  "events": [
    {
      "id": "evt_00000000000000000001",
      "location": {
        "city": "Samplehaven",
        "country": "ZZ"
      },
      "message": "Parcel scanned at synthetic sorting hub",
      "object": "tracking_event",
      "occurred_at": "2026-09-05T05:40:00Z",
      "shipment_id": "shp_00000000000000000001",
      "status": "canceled"
    }
  ],
  "shipment": {
    "created_at": "2026-09-04T08:15:30Z",
    "delivery_instructions": "string",
    "id": "shp_00000000000000000001",
    "metadata": {
      "additionalProp1": "string"
    },
    "object": "shipment",
    "parcels": [
      {
        "contents": [
          {
            "customs_code": "610910",
            "description": "Synthetic cotton shirt",
            "quantity": 2,
            "unit_value": {
              "amount": "12.50",
              "currency": "XTS"
            }
          }
        ],
        "height_cm": 12,
        "length_cm": 30.5,
        "weight_grams": 1750,
        "width_cm": 20
      }
    ],
    "recipient": {
      "city": "Exampleton",
      "company": "Northstar Supplies",
      "country": "ZZ",
      "line1": "14 Fictional Quay",
      "line2": "Unit 7",
      "name": "Rowan Example",
      "phone": "+00000000000",
      "postal_code": "EX4 2PL",
      "region": "Test Province"
    },
    "reference": "synthetic-order-1042",
    "sender": {
      "city": "Exampleton",
      "company": "Northstar Supplies",
      "country": "ZZ",
      "line1": "14 Fictional Quay",
      "line2": "Unit 7",
      "name": "Rowan Example",
      "phone": "+00000000000",
      "postal_code": "EX4 2PL",
      "region": "Test Province"
    },
    "service": "economy",
    "status": "canceled",
    "tracking_number": "PE-000000000001",
    "updated_at": "2026-09-04T08:16:12Z"
  }
}
404The requested synthetic resource does not existapplication/problem+json
objectProblem
detailstring
errorsarray of object
Show child attributes
Show array items
messagestringrequired
pathstringrequired
request_idstringrequired
statusintegerrequired

maximum 599 · minimum 400

titlestringrequired
typestring · urirequired
Example response
{
  "request_id": "req_00000000000000000004",
  "status": 404,
  "title": "Synthetic resource was not found",
  "type": "https://parcel-events.example/problems/not-found"
}

Documentation menu