List pre-order time slots
list_preorder_slotsFor venues that take scheduled pre-orders (bakeries, caterers; list_menu_items marks their items soldAheadOnly): the dates and times an order can be booked for. Pass the items the guest wants (menuItemId and quantity) so each slot is checked against them: lead time (a cake may need days of notice), items not sold on some days, per-slot limits and capacity. First states the venue's schedule in plain words (schedule: e.g. weekdays, order by 08:00, ready at 11:00; weekends only; every day), so you can describe the pattern to the guest, then lists bookable slots soonest first, each with slotInstanceId, when it will be ready (readyAtLocal), the last moment to order (orderByLocal), places left, and payment terms where a deposit or full payment is required; plus unavailable slots with the reason. method is pickup or delivery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | The items to book; leave empty to just see the venue's slots | |
| method | No | How the guest will receive it; slots that don't offer it are marked unavailable | |
| restaurantId | Yes |