Orders: download label
orders_download_labelDownload the PDF file of shipping labels for an order after generating them. Provide the task ID from the label generation step to retrieve the document.
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). |