add_item_to_cart
Add an item to cart. Requires vendor id + menu item id from search_product (products[]) or view_vendor_items. Always pass item type menu.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notification_message | No | Short user-facing sentence for this action if the follow-up reply fails. Plain text only; do not mention template syntax or variable names. | |
| step_37_body_addressId | No | Same value as step_37_body_address_id. | |
| step_47_body_vendor_id | Yes | Vendor id: search_product data[].id OR view_vendor_items vendor. Not the menu item id. | |
| step_37_body_address_id | Yes | From get_addresses after user confirms pretty_name — never ask user to type this. | |
| step_61_body_items_0_item_id | Yes | Menu item id: search_product data[].products[].id OR view_vendor_items menu item id. | |
| step_61_body_items_0_quantity | No | Quantity (default 1). | |
| step_57_body_data_0_products_0_name | No | Display name of the menu item from search/menu response. | |
| step_61_body_items_0_discount_price | No | Discount price in kobo; same as price_per_quantity if no discount. | |
| step_61_body_items_0_pack_reference | No | Pack reference if required; else empty string. | |
| step_7_body_data_0_cart_items_0_type | No | Always menu for food items (never container). Omit to use default menu. | menu |
| step_61_body_items_0_price_per_quantity | No | Unit price in kobo from menu/search response. |