PATCH
/
containers
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": 10,
      "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"
    },
    "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"
          }
        ]
      }
    }
  }
}

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

Body

application/json
data
object

Response

200 - application/json
OK
data
object

Represents the equipment during a specific journey.