Freight shipment updated

When a Shipment is updated.

postWebhookfreight-shipment.updated

Payload

OR

Example payload

{
  "connection_id": "connection_id",
  "data": {
    "id": "shipment_id",
    "eta_date": "2021-01-01T00:00:00Z",
    "created_date": "2022-01-01T00:00:00Z",
    "updated_date": "2022-01-02T05:05:05Z",
    "cost": 1,
    "shipment_date": "2021-01-01T00:00:00Z",
    "arrival_date": "2021-01-01T00:00:00Z",
    "raw_status": "status",
    "status": "pre_transit",
    "shipment_method": "shipment_method",
    "external_system_url": "https://example.com/freightshipment/123",
    "additional_fields": {
      "key": "value"
    },
    "trackstar_created_date": "2023-03-15T13:45:30Z",
    "trackstar_updated_date": "2023-03-15T13:45:30Z"
  },
  "event_type": "freight-shipment.updated",
  "integration_name": "integration_name",
  "integration_type": "freight",
  "previous_attributes": {
    "id": "shipment_id",
    "eta_date": "2021-01-01T00:00:00Z",
    "created_date": "2022-01-01T00:00:00Z",
    "updated_date": "2022-01-02T05:05:05Z",
    "cost": 1,
    "shipment_date": "2021-01-01T00:00:00Z",
    "arrival_date": "2021-01-01T00:00:00Z",
    "raw_status": "status",
    "status": "pre_transit",
    "shipment_method": "shipment_method",
    "external_system_url": "https://example.com/freightshipment/123",
    "additional_fields": {
      "key": "value"
    },
    "trackstar_created_date": "2023-03-15T13:45:30Z",
    "trackstar_updated_date": "2023-03-15T13:45:30Z"
  }
}

Response

Success

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.