Skip to main content
POST
Complete Upload

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

uploadId
string
required

Response

Successful response.

id
string<uuid>
required

Public Upload ID. Send it when you import the file.

purpose
enum<string>
required

shipment_manifest for a shipment file. ncts_items for an NCTS departure goods file.

Available options:
ncts_items,
shipment_manifest
status
enum<string>
required

The upload passed verification and structured-file assessment.

Available options:
available
filename
string
required

Name of the uploaded file.

contentType
enum<string>
required

Media type of the uploaded file.

Available options:
text/csv,
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
byteLength
number
required

Size of the uploaded file in bytes.

Required range: 1 <= x <= 20971520
sha256
string
required

SHA-256 fingerprint of the uploaded file.

Pattern: ^[0-9a-f]{64}$
scanRequired
boolean
required

Legacy field. False after a successful completion. It does not describe an antivirus scan.