GET
/
v1
/
order
/
{id}
/
documents
curl --request GET \
  --url https://api.sandbox.usenash.com/v1/order/{id}/documents
[
  {
    "createdAt": "2023-08-29T19:17:46.264523",
    "id": "doc_1234567890",
    "type": "shipping_label",
    "contenttype": "application/pdf",
    "url": "https://example.com/document.pdf",
    "data": "SGVsbG8gd29ybG="
  }
]

Path Parameters

id
string
required

Unique reference number for the order: either order.id (starts with "ord_") or order.externalId

Query Parameters

loadData
boolean
required

Whether to load the document data and return it as part of the response.

Response

200
application/json
OK
createdAt
string
required

The date and time when the document was created

id
string
required

The id of the document

type
enum<string>
required

The type of the document

Available options:
shipping_label,
pickup_label,
manifest
contenttype
string
required

The content type of the document

url
string
required

The URL of the document

data
string | null

The data of the document