# Get consignment documents Retrieves documents (e.g., labels) for a consignment. Supports filtering by document type and invoice quantity. Endpoint: GET /_api/v1/company/{company_slug}/consignment/{shipmentIdentifier}/documents Version: 1.0.0 Security: TokenAuth ## Path parameters: - `shipmentIdentifier` (string) Unique identifier for the consignment (shipment). - `company_slug` (string) ## Query parameters: - `documenttype` (string) Document MIME type (e.g., application/x-zebra-zpl) Enum: "application/pdf", "image/png", "application/x-zebra-zpl", "image/x-png-list" - `invoice_quantity` (integer) Number of invoices to include ## Response 200 fields (application/json): - `labels` (string) Plaintext or base64-encoded string containing label data for the consignment. Format depends on the requested document type (PDF, PNG, ZPL, etc.). - `invoices` (string) Base64-encoded invoice data for the consignment, if required by the carrier/destination. May be null if not applicable. ## Response 400 fields (application/json): - `detail` (string) Error message describing the validation or request error. Example: "Consignment not ready for printing." ## Response 401 fields (application/json): - `detail` (string) Permission denied error message. ## Response 404 fields (application/json): - `detail` (string) Standard Not found error message. ## Response 408 fields (application/json): - `detail` (string) Standard Timeout error message. ## Response 409 fields (application/json): - `detail` (string) Conflict error message.