Back to siteAPI Documentation
GET

/api/v1/shipments/{shipment_id}/tracking

Auth: Bearer token

Get Shipment Tracking

Returns latest tracking status and milestones.

Path parameters

NameTypeRequiredDescription
shipment_idstringYesShipment identifier.

Example response

<?php

return [
  'success' => true,
  'data' => [
    'shipment_id' => 'shp_101',
    'status' => 'in_transit',
    'events' => [
      [
        'status' => 'picked_up',
        'occurred_at' => '2026-02-17T11:30:00Z',
        'note' => 'Collected from origin'
      ],
      [
        'status' => 'in_transit',
        'occurred_at' => '2026-02-17T14:15:00Z',
        'note' => 'Arrived at sorting facility'
      ]
    ]
  ]
];

Request examples

curl -X GET \
  "https://api.spaces.za.com/api/v1/shipments/shp_101/tracking" \
  -H "Authorization: Bearer <token>" \\