curl --request PATCH \
--url https://api.terminal49.com/v2/containers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"attributes": {
"ref_numbers": [
"REF-12345"
]
}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "container",
"attributes": {
"number": "<string>",
"ref_numbers": [
"<string>"
],
"equipment_type": "dry",
"equipment_length": null,
"equipment_height": "standard",
"weight_in_lbs": 123,
"created_at": "2023-11-07T05:31:56Z",
"seal_number": "<string>",
"pickup_lfd": "2023-11-07T05:31:56Z",
"pickup_appointment_at": "2023-11-07T05:31:56Z",
"availability_known": true,
"available_for_pickup": true,
"pod_arrived_at": "2023-11-07T05:31:56Z",
"pod_discharged_at": "2023-11-07T05:31:56Z",
"pod_full_out_at": "2023-11-07T05:31:56Z",
"terminal_checked_at": "2023-11-07T05:31:56Z",
"pod_full_out_chassis_number": "<string>",
"location_at_pod_terminal": "<string>",
"final_destination_full_out_at": "2023-11-07T05:31:56Z",
"empty_terminated_at": "2023-11-07T05:31:56Z",
"holds_at_pod_terminal": [
{
"name": "<string>",
"status": "pending",
"description": "<string>"
}
],
"fees_at_pod_terminal": [
{
"type": "demurrage",
"amount": 123,
"currency_code": "USD"
}
],
"pod_timezone": "<string>",
"final_destination_timezone": "<string>",
"empty_terminated_timezone": "<string>",
"pod_rail_carrier_scac": "<string>",
"ind_rail_carrier_scac": "<string>",
"pod_last_tracking_request_at": "2023-11-07T05:31:56Z",
"shipment_last_tracking_request_at": "2023-11-07T05:31:56Z",
"pod_rail_loaded_at": "2023-11-07T05:31:56Z",
"pod_rail_departed_at": "2023-11-07T05:31:56Z",
"ind_eta_at": "2023-11-07T05:31:56Z",
"ind_ata_at": "2023-11-07T05:31:56Z",
"ind_rail_unloaded_at": "2023-11-07T05:31:56Z",
"ind_facility_lfd_on": "2023-11-07T05:31:56Z",
"import_deadlines": {
"pickup_lfd_terminal": "2023-11-07T05:31:56Z",
"pickup_lfd_rail": "2023-11-07T05:31:56Z",
"pickup_lfd_line": "2023-11-07T05:31:56Z"
},
"current_status": "new"
},
"relationships": {
"shipment": {
"data": {
"id": "<string>",
"type": "shipment"
}
},
"pickup_facility": {
"data": {
"id": "<string>",
"type": "terminal"
}
},
"pod_terminal": {
"data": {
"id": "<string>",
"type": "terminal"
}
},
"transport_events": {
"data": [
{
"id": "<string>",
"type": "transport_event"
}
]
},
"raw_events": {
"data": [
{
"id": "<string>",
"type": "raw_event"
}
]
}
}
}
}Update a container
curl --request PATCH \
--url https://api.terminal49.com/v2/containers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"attributes": {
"ref_numbers": [
"REF-12345"
]
}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "container",
"attributes": {
"number": "<string>",
"ref_numbers": [
"<string>"
],
"equipment_type": "dry",
"equipment_length": null,
"equipment_height": "standard",
"weight_in_lbs": 123,
"created_at": "2023-11-07T05:31:56Z",
"seal_number": "<string>",
"pickup_lfd": "2023-11-07T05:31:56Z",
"pickup_appointment_at": "2023-11-07T05:31:56Z",
"availability_known": true,
"available_for_pickup": true,
"pod_arrived_at": "2023-11-07T05:31:56Z",
"pod_discharged_at": "2023-11-07T05:31:56Z",
"pod_full_out_at": "2023-11-07T05:31:56Z",
"terminal_checked_at": "2023-11-07T05:31:56Z",
"pod_full_out_chassis_number": "<string>",
"location_at_pod_terminal": "<string>",
"final_destination_full_out_at": "2023-11-07T05:31:56Z",
"empty_terminated_at": "2023-11-07T05:31:56Z",
"holds_at_pod_terminal": [
{
"name": "<string>",
"status": "pending",
"description": "<string>"
}
],
"fees_at_pod_terminal": [
{
"type": "demurrage",
"amount": 123,
"currency_code": "USD"
}
],
"pod_timezone": "<string>",
"final_destination_timezone": "<string>",
"empty_terminated_timezone": "<string>",
"pod_rail_carrier_scac": "<string>",
"ind_rail_carrier_scac": "<string>",
"pod_last_tracking_request_at": "2023-11-07T05:31:56Z",
"shipment_last_tracking_request_at": "2023-11-07T05:31:56Z",
"pod_rail_loaded_at": "2023-11-07T05:31:56Z",
"pod_rail_departed_at": "2023-11-07T05:31:56Z",
"ind_eta_at": "2023-11-07T05:31:56Z",
"ind_ata_at": "2023-11-07T05:31:56Z",
"ind_rail_unloaded_at": "2023-11-07T05:31:56Z",
"ind_facility_lfd_on": "2023-11-07T05:31:56Z",
"import_deadlines": {
"pickup_lfd_terminal": "2023-11-07T05:31:56Z",
"pickup_lfd_rail": "2023-11-07T05:31:56Z",
"pickup_lfd_line": "2023-11-07T05:31:56Z"
},
"current_status": "new"
},
"relationships": {
"shipment": {
"data": {
"id": "<string>",
"type": "shipment"
}
},
"pickup_facility": {
"data": {
"id": "<string>",
"type": "terminal"
}
},
"pod_terminal": {
"data": {
"id": "<string>",
"type": "terminal"
}
},
"transport_events": {
"data": [
{
"id": "<string>",
"type": "transport_event"
}
]
},
"raw_events": {
"data": [
{
"id": "<string>",
"type": "raw_event"
}
]
}
}
}
}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
OK
Represents the equipment during a specific journey.
Show child attributes
container Show child attributes
dry, reefer, open top, flat rack, bulk, tank, , 10, 20, 40, 45 standard, high_cube, Coalesces import_deadlines values giving preference to pickup_lfd_line
When available the pickup appointment time at the terminal is returned.
Whether Terminal 49 is receiving availability status from the terminal.
If availability_known is true, then whether container is available to be picked up at terminal.
Time the vessel arrived at the POD
Discharge time at the port of discharge
Full Out time at port of discharge. Null for inland moves.
When the terminal was last checked.
The chassis number used when container was picked up at POD (if available)
Location at port of discharge terminal
Pickup time at final destination for inland moves.
Time empty container was returned.
Show child attributes
demurrage, exam, extended_dwell_time, other, total The fee amount in local currency
The ISO 4217 currency code of the fee is charged in. E.g. USD
"USD"
IANA tz. Applies to attributes pod_arrived_at, pod_discharged_at, pickup_appointment_at, pod_full_out_at.
IANA tz. Applies to attribute final_destination_full_out_at.
IANA tz. Applies to attribute empty_terminated_at.
The SCAC of the rail carrier for the pickup leg of the container's journey.(BETA)
The SCAC of the rail carrier for the delivery leg of the container's journey.(BETA)
Please use import_deadlines.pickup_lfd_rail
Import pickup deadlines for the container
Show child attributes
The last free day for pickup before demmurage accrues. Corresponding timezone is pod_timezone.
The last free day for pickup before demmurage accrues. Corresponding timezone is final_destination_timezone.
The last free day as reported by the line. Corresponding timezone is final_destination_timezone or pod_timezone.
The current status of the container in its journey. Read guide to learn more.
new, on_ship, available, not_available, grounded, on_rail, picked_up, off_dock, delivered, dropped, loaded, empty_returned, awaiting_inland_transfer Show child attributes
Was this page helpful?