Terminal49 Track
terminal49_trackStart tracking an ocean shipment or container by submitting a bill of lading, booking, or container number plus the carrier SCAC. Returns the tracking request id and status (pending -> created/failed). Example: terminal49_track({ request_number: "MEDUFR030802", request_type: "bill_of_lading", scac: "MSCU", _apiKey: "your-key" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scac | No | Carrier SCAC (Standard Carrier Alpha Code), e.g. "MSCU" (MSC), "MAEU" (Maersk). Optional if auto_detect_scac is true. | |
| _apiKey | Yes | Terminal49 API key (create one at https://app.terminal49.com/developers/api-keys). | |
| ref_numbers | No | Optional array of your internal reference numbers (e.g. PO numbers) to attach to the shipment. | |
| request_type | No | What request_number is: "bill_of_lading", "booking", or "container". Aliases like "bol"/"booking_number" are normalized. Defaults to bill_of_lading. | |
| shipment_tags | No | Optional array of tags to attach to the resulting shipment. | |
| request_number | Yes | The shipping-line booking number, master bill of lading number, or container number to track, e.g. "MEDUFR030802". | |
| auto_detect_scac | No | Let Terminal49 auto-detect the carrier SCAC instead of supplying one. Defaults to false. |