schedule_batch
Schedule multiple deliveries for an event in one call, staggering drop-off times to avoid kitchen overload. Commits future dispatches after user confirmation.
Instructions
Schedule a whole event's deliveries in one call — a restaurant launch, a catering run, office-lunch drops. Each item needs external_delivery_id, dropoff_address, dropoff_phone_number, and order_value (cents); tip and dropoff_instructions are optional. pickup_address applies to items that don't set their own.
dispatch_at: ISO-8601 UTC for the FIRST dispatch; stagger_minutes spreads the rest (e.g. 12 deliveries, stagger 15 = one drop every 15 minutes, so the kitchen is never slammed). Everything lands in the due queue as unsigned payloads and fires via dispatch_due_deliveries.
Moves no money NOW, but commits N future dispatches the user's poller will execute with their key: ALWAYS summarize the full plan — count, addresses, window, estimated total fees — and get the user's explicit confirmation before scheduling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deliveries | Yes | ||
| dispatch_at | Yes | ||
| pickup_address | No | ||
| stagger_minutes | No |