grubhub_availability
Check ordering availability for up to 20 Grubhub restaurants relative to a diner location, returning per-channel open status, delivery and pickup options, fees, times, and next order slots.
Instructions
Check ordering availability for a batch of Grubhub restaurants. Returns current ordering state for up to 20 restaurants in one call, relative to a diner location. Each entry reports whether the restaurant is open overall and per channel (these can differ), whether delivery and pickup are offered at all as distinct from open right now, whether it delivers to the supplied coordinate, blackout and overloaded flags, distance, delivery and pickup time estimates, delivery fee, order minimum, cuisines, and the next time an order can be sent per channel -- useful when a restaurant is currently closed. The response echoes the requested ids so a caller can tell which ones Grubhub returned nothing for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | Diner location latitude -- availability is relative to it | |
| longitude | Yes | Diner location longitude | |
| restaurant_ids | Yes | Comma-separated Grubhub restaurant ids, up to 20 |