Order
Get order documents
Retrieve documents associated with an order such as shipping labels or proof of delivery. Set load_data=true to include the document content in the response.
get/v1/order/{id}/documents
Request
- Base URLhttps://api.sandbox.usenash.com
- Authnone declared
Path parameters
idstring required
Unique reference number for the order: either order.id (starts with "ord_") or order.externalId
Example:ord_1234567890
Query parameters
loadDataboolean required
Whether to load the document data and return it as part of the response. Text documents such as ZPL are returned as text, all others such as PDF as base64.
Response
OK
Example response
[
{
"createdAt": "2023-08-29T19:17:46.264523",
"id": "doc_1234567890",
"contentType": "application/pdf",
"url": "https://example.com/document.pdf",
"data": "SGVsbG8gd29ybG="
}
]Changes
No recorded changes to this operation across all 1 revision of this API.