Albert Heijn: Update Order Item
ah_update_cart_itemSet the quantity of a product in an active Albert Heijn delivery order. Use quantity 0 to remove the item.
Instructions
Set the quantity of a product in the active Albert Heijn delivery order. Requires an order (started by choosing a delivery slot in the AH app or on ah.nl, which moves the shopping list into it); to collect products before that, use ah_add_to_shopping_list. Use product_id from ah_search_products or ah_get_cart. Set quantity=0 to remove the item (or use ah_remove_from_cart).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | New quantity (0 removes the item) | |
| product_id | Yes | Numeric product ID |