List documents across Shipments
GET /v5/shipments/documents/ returns the documents of up to 10 Shipments per request. Identify them with either shipment_uuids or shipment_ids — never both — comma-joined without spaces:
name, type, file_format, created_date, additional_info), and a download_url. Results are page-based: limit 25–100 (default 25), page from 1, with total_pages in the response. No matching documents returns HTTP 200 with an empty data array.
Retrieve one document
GET /v5/shipments/documents/{document_uuid}/ fetches a single document by the document_uuid you got from a listing, a Shipment’s details, or a booking response:
download_url and a base64_content string — use the latter when you want the bytes without a second fetch. An unknown UUID returns HTTP 404 ("No document is found").
Rules to build around
- Providing both
shipment_uuidsandshipment_idsin one listing call fails validation:Please provide either shipment_uuids or shipment_ids to proceed. - Document
typevalues such asshipping_labelandshipping_label_qrare how label filtering works — the Retrieve Labels endpoint (Booking section) is this listing pre-filtered to label types. additional_infooften carries format details worth reading before printing — label size (A6, 4x6) or ZPL dialect.