Albert Heijn: Personal Offers
ah_get_personal_offersRetrieve your personal Albert Heijn Bonus Box offers and their activation status so you can see which member-only deals are available or activated this week or next.
Instructions
Get the user's personal Albert Heijn offers (the Bonus Box, 'persoonlijke bonus'): deals picked for this member that only apply after they are activated. Returns max_activations (how many offers the member may activate this week), activated_count, and per offer: id, title, status ('activated' or 'available'), original_price, bonus_price, discount_percentage, unit, and product_id when the offer covers one product. For an offer on several products, pass its id as segment_id to ah_get_bonus_group_products to list them. Activate offers with ah_activate_personal_offer. Set period='next' for next week's offers once AH publishes them. When you mention a product or recipe from the result, link its name to its url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Which bonus week: 'current' (default) or 'next' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offers | Yes | ||
| activated_count | Yes | ||
| max_activations | No |