Skip to main content
PATCH
/
v1
/
declarations
/
transit
/
{id}
Update transit declaration
curl --request PATCH \
  --url https://devapi.eazecustoms.com/staging/v1/declarations/transit/{id} \
  --header 'Authorization: Bearer <token>'
{
  "declarationId": 104,
  "status": "processing"
}
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

id
number
required
The unique transit declaration ID.

Examples

{
  "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"
}
{
  "declarationId": 104,
  "status": "processing"
}