book_batch_and_label
Book a batch of APC shipments with a single service and collection date, then receive one merged PDF containing all labels ready to print.
Instructions
Book multiple APC shipments at once and return a single merged PDF containing every label, ready to print. Use this when the user pastes a list of orders/addresses. All shipments share the same service, collection date and sender. Saves the merged PDF to ~/Downloads/parcel-toolkit/ (overridable via PARCEL_TOOLKIT_LABELS_DIR).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | APC delivery service for every shipment in this batch (e.g. "next-day", "next-day-1200", "ND16"). Call list_services for the full catalogue. | |
| collectionDate | Yes | Collection date for every shipment. YYYY-MM-DD or DD/MM/YYYY | |
| readyAt | No | Time goods will be ready HH:MM (default 09:00) | |
| closedAt | No | Time business closes HH:MM (default 17:00) | |
| sender | Yes | Sender / collection address. Same for every shipment in the batch. | |
| shipments | Yes | Array of shipments to book. Each entry is one consignment with its own recipient, weight and pieces. | |
| labelFormat | No | Label format for individual labels. PDF recommended — merged output is always PDF regardless. |