Product and menu discovery
How the chat finds products and menus across admitted stores.
- The model calls
getAvailableStores. - For retail it calls
discoverProducts. For food it callsdiscoverRestaurantMenus. - A discovery card shows matches grouped by store.
- Opening one calls
getProductand shows variants.
getAvailableCountries and getAvailableRegions give the shipping destinations. The Openfront adapter uses the store's regions query to resolve a country to a region.
If nothing matches the app answers No <vertical> results matched the requested items, location, and country. If no store of that vertical is admitted: No admitted <vertical> sources match this request.
Retail discovery uses SearchProducts and GetProduct. Restaurant discovery uses MarketplaceRestaurantMenu and MarketplaceMenuItem. See GraphQL operations.