Get order documents
Order
Get Order Documents
Get the documents for an order
GET
Get order documents
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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
OK
The date and time when the document was created
Example:
"2023-08-29T19:17:46.264523"
The id of the document
Example:
"doc_1234567890"
The type of the document
Available options:
shipping_label, pickup_label, manifest, packing_slip_label, proof_of_delivery Example:
"shipping_label"
The content type of the document
Example:
"application/pdf"
The URL of the document
Example:
"https://example.com/document.pdf"
The data of the document
Example:
"SGVsbG8gd29ybG="