Submitting a tracking request is how you tell Terminal49 to track a shipment for you.
GET /tracking_request/{id}
endpoint to see the status of your request. You just need to track the ID of your tracking request, which is returned to you by the API.
Second option is that you can register a webhook and the API will post updates when they happen. This is more efficient and therefore preferred. But it also requires some work to set up.
A Webhook is another name for a web-based callback URL, or a HTTP Push API. Webhooks provide a method for an API to post a notification to your service. Specifically, a webhook is simply a URL that can receive HTTP Post Requests from the Terminal49 API.
When we successfully lookup the Bill of Lading with the Carrier’s SCAC, we will create a shipment, and send the event tracking_request.succeeded
to your webhook endpoint with the associated record.
If we encounter a problem we’ll send the event tracking_request.failed
.
Tracking Request Diagram
request_number
and scac
. The request number has to be a shipping line booking or master bill of lading number. The SCAC has to be a shipping line scac (see data sources to get a list of valid SCACs)<YOUR_API_KEY>
with your API key.