Skip to main content
POST

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

shipmentId
string
required

Body

application/json
uploadId
string<uuid>
required

Upload ID returned by Create Upload after Complete Upload reports status available. An accepted import reserves the upload. HTTP 422 for missing headers does not.

manifestTemplateId
string<uuid>
required

Required. Public ID of the Manifest Template that matches the file columns. Take it from List Manifest Templates.

mode
enum<string>
required

Must be INITIAL. This imports a manifest into an empty Shipment. Replacing existing declarations is not available.

Available options:
INITIAL
declarationTemplateIds
string<uuid>[]

Optional. Public IDs of eligible Declaration Templates. Omit this field, or send an empty array, to use only the eligible defaults mapped to the selected Manifest Template. Explicit templates must be active, assigned to the client, allowed for the Shipment direction, and mapped to the Manifest Template. At most one template per procedure type, and at most 20 IDs.

Maximum array length: 20

Response

Successful response.

operationId
string<uuid>
required

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

status
enum<string>
required

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

Available options:
queued