{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { }, "request_query_parameters": { "q": "red" }, "response_headers": { "X-Frame-Options": "SAMEORIGIN", "X-XSS-Protection": "1; mode=block", "X-Content-Type-Options": "nosniff", "X-Download-Options": "noopen", "X-Permitted-Cross-Domain-Policies": "none", "Referrer-Policy": "strict-origin-when-cross-origin", "Date": "Wed, 19 Aug 2020 13:57:17 GMT", "Content-Type": "application/json; charset=utf-8", "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, POST, PATCH, PUT, DELETE, OPTIONS", "X-Requested-With": "", "Vary": "X-Requested-With, X-Workarea-Segments", "Last-Modified": "Wed, 19 Aug 2020 13:57:17 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "37826b78-c9b3-4384-a76b-e48eb1abc0af", "X-Runtime": "0.010973", "X-Workarea-Segments": "", "Expires": "0", "Content-Length": "16" }, "request_method": "GET", "request_path": "/api/storefront/searches?q=red", "request_body": null, "request_content_type": null, "response_status": 200, "response_status_text": "OK", "response_body": "{\n \"results\": null\n}", "response_content_type": "application/json", "curl": "curl -g \"https://www.example.com/api/storefront/searches?q=red\" -X GET " } ], "resource": "Searches", "description": "Showing search autocomplete suggestions", "route": "/api/storefront/searches", "explanation": "
This list will be based on popular search terms and matching
\nproducts, categories, etc. Useful for showing a autocomplete
\ndrop-down as a customer types in a search bar.