Albert Heijn: Frequently Ordered Items
ah_get_frequent_itemsAnalyzes order history to identify products ordered at least a specified number of times, returning product names, IDs, order counts, and last ordered dates.
Instructions
Get frequently ordered products by analysing order history. Fetches all fulfillments, expands each order's items, counts per product, and returns products ordered at least min_order_count times. Returns product_name, product_id, order_count, last_ordered_date. When you mention a product or recipe from the result, link its name to its url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min_order_count | No | Minimum number of orders a product must appear in (default 3) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| products | Yes |