{"description":"AI-powered wellness product chatbot with intelligent recommendations and variant management","endpoints":{"Chat & Conversations":{"DELETE /api/session/<session_id>":"Clear conversation history for a session","GET /api/session/<session_id>":"Get conversation history and session metadata","POST /api/chat":"Send a message to the chatbot with context-aware responses"},"Product Information":{"GET /api/categories":"Get all product categories, types, tags, vendors, and benefits","GET /api/product/<product_id>":"Get complete product details with all variants","GET /api/product/<product_id>/variants":"Get detailed variant information for a product","GET /api/products/search":"Search products with intelligent ranking"},"Recommendations":{"GET /api/stats":"Get system statistics","POST /api/recommendations":"Get smart recommendations based on chat history"},"System":{"GET /api/health":"Health check endpoint"}},"features":["Context-aware product recommendations using chat history","Intelligent relevance scoring with priority weighting","Complete variant management with pricing and availability","Support for indirect/coded language in wellness context","Session management with conversation history","Multi-factor product search (title, type, tags, description, benefits)","Discount tracking and display","Natural language understanding via Gemini API"],"request_examples":{"chat":{"body":{"message":"user message (required)","return_products":"true/false (optional, default: true)","session_id":"optional-session-id (auto-generated if not provided)"},"method":"POST /api/chat"},"product_details":{"method":"GET /api/product/123456"},"recommendations":{"body":{"limit":10,"session_id":"session-id (required)"},"method":"POST /api/recommendations"},"search":{"method":"GET /api/products/search?q=energy&limit=20&session_id=optional"},"variants":{"method":"GET /api/product/123456/variants"}},"service":"Shopify Wellness Chatbot API","version":"2.0.0"}
