GET
/
shipping_lines
curl --request GET \
  --url https://api.terminal49.com/v2/shipping_lines \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "attributes": {
        "scac": "<string>",
        "name": "<string>",
        "alternative_scacs": [
          "<string>"
        ],
        "short_name": "<string>",
        "bill_of_lading_tracking_support": true,
        "booking_number_tracking_support": true,
        "container_number_tracking_support": true
      },
      "type": "shipping_line"
    }
  ],
  "links": {
    "last": "<string>",
    "next": "<string>",
    "prev": "<string>",
    "first": "<string>",
    "self": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

OK

The response is of type object.