grubhub_offers
Get active Grubhub restaurant promotions (free items, BOGO, spend-and-save) with restaurant ID and location. Returns the same offers shown on restaurant cards.
Instructions
Get one Grubhub restaurant's currently active promotions. Returns the promotional offers a Grubhub restaurant is currently running -- free items, BOGO deals, spend-and-save discounts -- the same data that drives the "2 offers available" badge on the site's own restaurant cards. An empty list is the common, legitimate case: most restaurants have no active promotion at any given moment. amount.value is 0 for a free-item offer since the item itself is the value, not a monetary discount; amount.amount_maximum then caps the item's dollar value, and amount.order_minimum is the spend threshold required to unlock it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | Diner location latitude | |
| longitude | Yes | Diner location longitude | |
| restaurant_id | Yes | Grubhub restaurant id |