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

Example:

"ord_1234567890"

Query Parameters

loadData
boolean
required

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

Response

200
application/json
OK

The response is of type object[].