{"openapi":"3.1.0","info":{"title":"Dee Utensils shop API","version":"1.0.0","description":"Read-only public API for Dee Utensils, a kitchenware store in Abuja, Nigeria: search products, product details with prices in naira and stock, categories, and store information. No sign-in.","contact":{"email":"info@deeutensils.ng","url":"https://deeutensils.ng"}},"servers":[{"url":"https://deeutensils.ng"}],"tags":[{"name":"shop","description":"Products, categories and store information"},{"name":"mcp","description":"Model Context Protocol server"}],"paths":{"/api/tools/search_products":{"get":{"operationId":"searchProducts","summary":"Search products","description":"Find products by name, e.g. \"blender\" or \"food warmer\". Returns name, price in naira, stock and link.","tags":["shop"],"parameters":[{"name":"query","in":"query","required":true,"description":"Words in the product name","schema":{"type":"string"}}],"responses":{"200":{"description":"Search products","content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string"},"count":{"type":"integer"},"products":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"slug":{"type":"string"},"price_naira":{"type":["number","null"],"description":"Price in naira; null while the price is being confirmed"},"was_naira":{"type":["number","null"],"description":"Price before a discount, if any"},"in_stock":{"type":"boolean"},"options":{"type":"integer","description":"How many options (sizes, colours) it comes in"}},"required":["name","url","slug","price_naira","in_stock"]}}},"required":["query","count","products"]}}}},"400":{"description":"What went wrong and how to fix the request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/api/tools/get_product":{"get":{"operationId":"getProduct","summary":"Get a product","description":"Full details of one product by its slug (the part after /p/ in its link).","tags":["shop"],"parameters":[{"name":"slug","in":"query","required":true,"description":"Product slug, e.g. poolee-blender","schema":{"type":"string"}}],"responses":{"200":{"description":"Get a product","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"category":{"type":["string","null"]},"summary":{"type":["string","null"]},"details":{"type":["string","null"]},"specs":{"type":"object","additionalProperties":true},"options":{"type":"array","items":{"type":"object","properties":{"sku":{"type":"string"},"option":{"type":["string","null"]},"price_naira":{"type":["number","null"]},"in_stock":{"type":"boolean"}},"required":["sku","price_naira","in_stock"]}},"photos":{"type":"array","items":{"type":"string","format":"uri"}},"note":{"type":"string"}},"required":["name","url","options"]}}}},"400":{"description":"What went wrong and how to fix the request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/api/tools/list_categories":{"get":{"operationId":"listCategories","summary":"List categories","description":"The shop categories with their links.","tags":["shop"],"parameters":[],"responses":{"200":{"description":"List categories","content":{"application/json":{"schema":{"type":"object","properties":{"categories":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["name","url"]}}},"required":["categories"]}}}},"400":{"description":"What went wrong and how to fix the request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/api/tools/store_info":{"get":{"operationId":"getStoreInfo","summary":"Store information","description":"Showroom addresses and hours, phone/WhatsApp, email, delivery and payment options.","tags":["shop"],"parameters":[],"responses":{"200":{"description":"Store information","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"website":{"type":"string","format":"uri"},"phone_whatsapp":{"type":"string"},"email":{"type":"string"},"showrooms":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"address":{"type":["string","null"]},"area":{"type":["string","null"]},"hours":{},"map":{"type":["string","null"]}},"required":["name"]}},"delivery":{"type":"string"},"payment":{"type":"string"}},"required":["name","website","phone_whatsapp","showrooms"]}}}},"400":{"description":"What went wrong and how to fix the request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/api/mcp":{"post":{"operationId":"mcpJsonRpc","summary":"MCP server (JSON-RPC 2.0)","description":"Model Context Protocol endpoint (Streamable HTTP, JSON responses). Methods: initialize, ping, tools/list, tools/call.","tags":["mcp"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"type":["string","integer","null"]},"method":{"type":"string"},"params":{"type":"object"}},"required":["jsonrpc","method"]}}}},"responses":{"200":{"description":"JSON-RPC response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Parse error or invalid request (JSON-RPC error object)"}}}}}}