Skip to main content
This walkthrough shows the most common SDK operations: creating a tracking request, listing shipments, and fetching container details.

Prerequisites

Make sure you have installed the SDK and set your T49_API_TOKEN environment variable.

Complete example

What’s happening

Tracking requests tell Terminal49 to start monitoring a container. You can track by container number, booking number, or bill of lading. Once tracked, Terminal49 polls carriers and terminals for updates. Shipments are the parent objects that group related containers. A single bill of lading might have multiple containers. Events are individual milestones: gate out, vessel departure, discharge, and more. Each event has a timestamp, location, and description. Routes show the planned and actual journey, broken into locations with inbound and outbound legs.

Next steps