Orders: download label
orders_download_labelDownload a PDF label for an order after generation is complete. Use the taskID from the generate labels call to retrieve the file.
Instructions
Downloads the generated PDF file with labels by taskID (download_label). Read-only, changes nothing. Call it AFTER orders_generate_labels or orders_generate_labels_extended, once the generation task is complete — the taskID comes from their response. Returns a structured binary response {mimeType: "application/pdf", sizeBytes, base64}; decode the base64 to save or print the file. If the task is not ready yet or the taskID is wrong, a 404 is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskID | Yes | ID of the label-generation task (document) obtained from orders_generate_labels(_extended). |