Generate order waybills
generate_order_waybillsGenerate waybills for order delivery chunks, returning signed PDF links that expire. Groups by warehouse and service, and skips chunks without producible waybills.
Instructions
Generate waybills (акты приёма-передачи отправлений) for order delivery chunks and return links to PDF documents. Chunks are grouped by warehouse + delivery service — one document per group. Every call asks the delivery service for a fresh document (nothing is cached), and the PDF links are signed and expire at expires_at — do not store them, re-request instead. Chunks a waybill cannot be produced for (self-pickup, delivery not created yet, no warehouse, unsupported service) come back in skipped with a reason. Chunk IDs come from get_order under delivery_chunks[].id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Order delivery chunks to produce waybills for, 1-100 entries; an order+chunk pair must not repeat. |