Last updated

Context Types

Here are the supported context types that will be provided on the context field in webhook messages and can be requested via the includeContext field.


SHIPMENT

High-level shipment information that includes identifiers, attributes, and shipment ID.

{
  "context": {
    "shipment": {
      "shipmentId": "UUIDv4",
      "identifiers": [
        {
          "type": "BILL_OF_LADING",
          "value": "BOL456"
        }
      ],
      "attributes": [
        {
          "name": "Custom Attribute",
          "value": "VALUE",
          "values": ["VALUE"]
        }
      ],
      "createdDateTime": "2025-08-19T08:36:01Z",
      "lastModifiedDateTime": "2025-08-19T08:36:02Z",
      "shipmentShareLink": "https://movement.project44.com/share/02c5a5af-d1f7-4c0d-8f29-59c538bb96e6"
    }
  }
}

ROUTE

Route information of the shipment that includes all stops and route segments.

{
  "context": {
    "route": {
      "stops": [
        {
          "id": "UUIDv4",
          "type": "ORIGIN",
          "location": {
            "id": "UUIDv4",
            "name": "Origin",
            "address": {
              "postalCode": "1097 DP",
              "addressLines": ["Mr. Treublaan 7"],
              "city": "Amsterdam",
              "state": "Noord-Holland",
              "country": "NL"
            },
            "coordinates": {
              "latitude": 52.348,
              "longitude": 4.91525
            },
            "timeZone": "Europe/Amsterdam"
          }
        }
      ],
      "routeSegments": [
        {
          "id": "UUIDv4",
          "fromStopId": "UUIDv4",
          "toStopId": "UUIDv4",
          "transportationMode": "TRUCKLOAD",
          "identifiers": [],
          "emissions": {
            "vehicleInfo": {}
          }
        }
      ]
    }
  }
}

List of related (parent or child) shipment IDs.

{
  "context": {
    "relatedShipments": {
      "relatedShipmentsId": ["UUIDv4"]
    }
  }
}