Skip to main content
POST
/
v1
/
declarations
/
bulk
/
send
Bulk submit exports to customs
curl --request POST \
  --url https://devapi.eazecustoms.com/staging/v1/declarations/bulk/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    {}
  ]
}
'
{
  "message": "Processed 3 declarations for sending.",
  "results": [
    {
      "id": 4,
      "status": "accepted",
      "result": {
        "declarationId": 4,
        "submitted": true,
        "message": "Declaration submitted to customs"
      }
    },
    {
      "id": 5,
      "status": "error",
      "error": "Declaration not ready to submit"
    }
  ]
}
Trigger bulk submission of ready export declarations to the NL Customs DMS.

Request Body

ids
array
required
Array of declaration IDs to submit to customs.
{
  "message": "Processed 3 declarations for sending.",
  "results": [
    {
      "id": 4,
      "status": "accepted",
      "result": {
        "declarationId": 4,
        "submitted": true,
        "message": "Declaration submitted to customs"
      }
    },
    {
      "id": 5,
      "status": "error",
      "error": "Declaration not ready to submit"
    }
  ]
}