uber_eats_add_to_cart
Add menu items to a cart by resolving the correct catalog section from the store and menu item UUIDs; handles fuzzy name matching and respects required customizations for accurate ordering.
Instructions
Add a line via addItemsToDraftOrderV2 + getMenuItemV1 (same stack for restaurants and grocery).
Best: pass store_uuid + menu_item_uuid (required). The server loads getStoreV1 and resolves the
real section_uuid / subsection_uuid from the menu—so wrong search data (e.g. section_uuid =
store_uuid) is fixed automatically when the SKU exists in the menu.
Optional: section_uuid, subsection_uuid, item_name from uber_eats_search items[] or restaurant_menu.
Fallback: restaurant_url + item_name (fuzzy match on full menu; more error-prone).
If the item has required customizations, call uber_eats_get_item_options first.
Args:
item_name: Display / fuzzy name (optional if UUID path fills title from getMenuItemV1)
quantity: How many to add (default 1)
restaurant_url: Store URL or slug (legacy path)
store_uuid: Merchant UUID (from search or menu payload)
section_uuid: Catalog section UUID (never the same as store_uuid; optional if resolvable from menu)
subsection_uuid: Submenu UUID (often empty; server retries with menu_item_uuid if needed)
menu_item_uuid: SKU / catalog item UUID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | ||
| item_name | No | ||
| store_uuid | No | ||
| section_uuid | No | ||
| menu_item_uuid | No | ||
| restaurant_url | No | ||
| subsection_uuid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |