Buy label
buy_labelBuys the labels of a draft batch at the chosen rates; costs real money. Waits for the owner's approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | A draft from create_shipment, create_batch or create_batch_from_orders. | |
| rate_ids | Yes | One rate_id from get_batch per rate group (a single shipment has one group). | |
| ship_date | No | Default: the batch's ship date. | |
| label_type | No | Printed label or a code the carrier prints at drop-off, when the service offers both. | |
| max_total_usd | No | Refuse when the labels together cost more than this. |