Adds a document to the specified shipment. Please read desription for full instructions

Adds a document to the given shipment. Before using this endpoint, a document has to be uploaded using /document-upload-url endpoint to get the upload_identifier token (example, looks like aSwe123Uis). Now using this upload identifier, the document can be linked to the shipment.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≤ 100
^[A-Za-z0-9\.\_\-]*$

Unique ID of the shipment in the remote system used for lookup purposes.

Body Params

Add a document to the specified shipment ID
Please use the document-upload-url endpoint to upload the actual document to get the upload identifier.
Do not attach your file to the body of this request.

string
enum
Defaults to private

specifies if document is public or private.

Allowed:
string
required

Name of file.

date-time

timestamp of when the file was created.

string
required

A short code representing the logical type of document.

string
required

unique token used to refer to the uploaded file in the future

Headers
string
length ≤ 100
^[A-Za-z0-9\.\_\-]*$

An optional unique id set by the client for an api request. This can be use to identify a request when communicating with Chain.io support.

Responses
200

Blank response if document attached successfully.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json