Order
Get Order Documents
API Documentation
Order
- Background
- Order Address Validation (Geocoding)
- Order Requirements
- POSTCreate Order
- POSTCreate Orders
- POSTCreate or update order by external identifier
- PATCHUpdate order
- GETGet order
- POSTCreate Quote
- GETGet Order Documents
- POSTSelect Quote
- POSTRefresh order quotes
- POSTAutodispatch Order
- POSTAdd Custom Event to Order
- DELArchive order
- PATCHUnarchive order
- Bulk Order Actions
- Delivery Windows & Capacity
Dispatch Strategies
Notifications
Store Locations & Zones
- POSTCreate store location
- PATCHUpdate Store Location
- GETGet Store Location
- GETGet Store Locations
- GETGet store location by external identifier
- DELDelete store location
- GETGet store locations that cover specified location (latitude & longitude, city_zipcode)
- POSTCreate a zone
- PATCHUpdate a zone
- DELDelete a zone
- GETGet zone
- GETGet zones
- GETGet zone by external identifier
- GETGet zones that cover specified location (latitude & longitude, city_zipcode)
Jobs
- Background
- POSTCreate Job
- POSTCreate or Update Job by External Identifier
- PATCHUpdate Job
- GETGet Job
- GETGet Job by External Identifier
- POSTSelect Quote
- POSTReassign a Task
- POSTRefresh Quotes
- POSTAutodispatch Job
- POSTAutodispatch Job by External Identifier
- POSTCancel Job
- POSTCancel Job by External Identifier
- POSTCreate Delivery Incident
- GETGet Refund Requests
- GETGet Refund Request
Batch Jobs
Providers
Routes
Templates
Miscellaneous
Order
Get Order Documents
Get the documents for an order
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
Unique reference number for the order: either order.id (starts with "ord_") or order.externalId
Example:
"ord_1234567890"
Query Parameters
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[]
.
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="
}
]