> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eazecustoms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update transit declaration

> Update an existing transit declaration (departure or arrival).

Update properties of an existing transit declaration. This endpoint supports updating departure declarations (both full and minimal revisions) as well as arrival declarations.

### Path Parameters

<ParamField path="id" type="number" required>
  The unique transit declaration ID.
</ParamField>

### Examples

<CodeGroup>
  ```json Departure Update theme={null}
  {
    "commercialReference": "TRN-2026-00001-UPD",
    "procedureType": "D1",
    "declarationType": "externalTransit",
    "additionalDeclarationType": "STANDARD",
    "departureOffice": "NL000432",
    "destinationOffice": "NL000434",
    "countryOfDispatch": "NL",
    "countryOfDestination": "DE",
    "security": "2",
    "totalWeight": 2600,
    "internalRemarks": "Updated from external API",
    "goodsLocationType": "A",
    "goodsLocationAddressType": "Z",
    "goodsLocationAddress": {
      "Address": {
        "street": "Main St 2",
        "city": "Rotterdam",
        "postCode": "3011AB",
        "countryCode": "NL"
      }
    },
    "loadingCountry": "NL",
    "loadingLocation": "Rotterdam Port Terminal 2",
    "loadingUNLocode": "NLRTM",
    "unloadingCountry": "DE",
    "unloadingLocation": "Berlin Warehouse",
    "unloadingUNLocode": "DEBER"
  }
  ```

  ```json Departure Minimal Revision theme={null}
  {
    "destinationOffice": "NL000434",
    "totalWeight": 2600,
    "unloadingLocation": "Berlin Warehouse",
    "internalRemarks": "Quantity revised before send"
  }
  ```

  ```json Arrival Update theme={null}
  {
    "mrn": "26NL0000000001234",
    "destinationOffice": "NL000567",
    "arrivalOffice": "NL000567",
    "goodsLocationType": "B",
    "goodsLocationAddressType": "T",
    "goodsLocationAddress": {
      "Address": { "postCode": "1043AG", "countryCode": "NL" }
    },
    "simplifiedProcedure": true,
    "arrivalTransportType": "3",
    "arrivalTransportName": "TRUCK-001"
  }
  ```
</CodeGroup>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "declarationId": 104,
    "status": "processing"
  }
  ```
</ResponseExample>
