Skip to main content
DELETE
/
v1
/
declarations
/
{id}
Cancel an export declaration
curl --request DELETE \
  --url https://sandbox-api.easecustoms.com/v1/declarations/{id} \
  --header 'Authorization: Bearer <token>'
{
  "declarationId": 43,
  "canceled": true
}
Cancel an export declaration. If it has not yet been submitted to customs, it is cancelled immediately.

Path Parameters

id
number
required
The unique declaration ID.
{
  "declarationId": 43,
  "canceled": true
}