To track an ocean shipment, you create a new tracking request.
Two attributes are required to track a shipment. A bill of lading/booking number and a shipping line SCAC.
Once a tracking request is created we will attempt to fetch the shipment details and it’s related containers from the shipping line. If the attempt is successful we will create in new shipment object including any related container objects. We will send a tracking_request.succeeded webhook notification to your webhooks.
If the attempt to fetch fails then we will send a tracking_request.failed webhook notification to your webhooks.
A tracking_request.succeeded or tracking_request.failed webhook notificaiton will only be sent if you have atleast one active webhook.
Token YOUR_API_TOKEN
The APIs require authentication to be done using header-based API Key and Secret Authentication.
API key and secret are sent va the Authorization request header.
You send your API key and secret in the following way:
Authorization: Token YOUR_API_KEY
Create a shipment tracking request