grubhub_offers
Fetch a Grubhub restaurant's active promotions—free items, BOGO deals, spend-and-save discounts—using restaurant ID, latitude, and longitude. Returns an empty list when no promotions are running.
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 |