Terminals
Get a terminal using the id
Getting Started
In Depth Guides
Useful Info
Shipments
Tracking Requests
Webhooks
Webhook Notifications
Containers
Shipping Lines
Terminals
Terminals
Get a terminal using the id
Return the details of a single terminal.
GET
/
terminals
/
{id}
curl --request GET \
--url https://api.terminal49.com/v2/terminals/{id} \
--header 'Authorization: <api-key>'
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"relationships": {
"port": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "port"
}
}
},
"attributes": {
"name": "<string>",
"nickname": "<string>",
"firms_code": "<string>",
"smdg_code": "<string>",
"bic_facility_code": "<string>",
"street": "<string>",
"city": "<string>",
"state": "<string>",
"state_abbr": "<string>",
"zip": "<string>",
"country": "<string>"
},
"type": "terminal"
}
}
Authorizations
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
Path Parameters
Response
200 - application/json
OK
CBP FIRMS Code or CBS Sublocation Code
SMDG Code
BIC Facility Code
Street part of the address
City part of the address
State part of the address
State abbreviation for the state
ZIP code part of the address
Country part of the address
Available options:
terminal
Was this page helpful?
curl --request GET \
--url https://api.terminal49.com/v2/terminals/{id} \
--header 'Authorization: <api-key>'
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"relationships": {
"port": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "port"
}
}
},
"attributes": {
"name": "<string>",
"nickname": "<string>",
"firms_code": "<string>",
"smdg_code": "<string>",
"bic_facility_code": "<string>",
"street": "<string>",
"city": "<string>",
"state": "<string>",
"state_abbr": "<string>",
"zip": "<string>",
"country": "<string>"
},
"type": "terminal"
}
}