accepted, registered or error (export declarations can also be cancelled when cleared). Otherwise the endpoint answers 422.amendment_reason (string, required, up to 255 characters): the reason for the cancellation, sent to customs.{ "amendment_reason": "Duplicate declaration" }cancellation_requested; customs confirms or refuses the cancellation later. Follow it with Retrieve an MRN Status of Declaration.| Status | Meaning |
|---|---|
200 | The cancellation request was sent; the body is the same as Retrieve an MRN Status of Declaration |
400 | amendment_reason is missing |
409 | A submission for this declaration is already in progress; try again later |
422 | The declaration cannot be cancelled in its current status, or customs rejected the request; see errors |