Albert Heijn: Bonus Offers
ah_get_bonus_offersFind Albert Heijn bonus and discount offers for this week or next week; filter by keyword or products bought before.
Instructions
Get Albert Heijn bonus/promotional offers. Use this (not ah_search_products) when the user asks what is on bonus/sale/discount. Returns this week's bonus by default; set period='next' for next week's bonus, which AH publishes a few days before the new bonus week starts. Supports optional keyword filter to find e.g. cheese on bonus: set query='kaas'. Set previously_bought=true for offers on products the user bought before (AH's 'Eerder gekocht'). Group deals (e.g. '2+1 gratis', 'Alle yoghurt 25% korting') have no id but a bonus_segment_id — pass that to ah_get_bonus_group_products to see the individual products in the group. Returns id, bonus_segment_id, title, original_price, bonus_price, discount_percentage, bonus_mechanism. When you mention a product or recipe from the result, link its name to its url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default 20) | |
| query | No | Optional keyword filter (Dutch or English) applied client-side, e.g. 'kaas', 'vlees', 'bier' | |
| period | No | Which bonus week to return: 'current' (default) or 'next' | |
| previously_bought | No | Only offers on products the user bought before |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offers | Yes |