Skip to main content
POST
Import Departure Details

Authorizations

Authorization
string
header
required

Send Authorization: Bearer followed by the full Eaze Customs API credential. The credential looks like EZ__. It is shown only when Eaze Customs creates or rotates it.

Headers

X-Eaze-Client-Ref
string
required

Required. Send the clientRef returned by List Clients. Do not send this header on Get Credential Details or List Clients.

Required string length: 1 - 100
Example:

"ACME-AMS"

Idempotency-Key
string
required

Required. Use 1 to 200 visible ASCII characters. Create a new key for a new request. Send the same key only when you retry the exact same request after a network failure. The same key with a different body is rejected.

Required string length: 1 - 200
Pattern: ^[!-~]{1,200}$
Example:

"6f1c0b3e-8a21-4c5d-9e10-1a2b3c4d5e6f"

Path Parameters

transitDeclarationId
string
required

Body

application/json
uploadId
string<uuid>
required

Upload ID of an available NCTS goods file. Purpose must be ncts_items. Each upload can be used for one import.

mode
enum<string>
required

Must be replace_all. The import replaces the current House Consignments and Goods Items on an editable Departure.

Available options:
replace_all
packageType
string

Optional two-character package type applied to the imported lines.

Required string length: 2
shippingMarks
string

Optional shipping marks, 1 to 512 characters.

Required string length: 1 - 512

Response

Successful response.

operationId
string<uuid>
required

Public Operation ID. Use Get Operation to follow this import.

status
enum<string>
required

queued means the goods import has been accepted and has not started yet.

Available options:
queued