{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Content-Type": "application/json" }, "request_query_parameters": { }, "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", "Content-Type": "application/json", "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, 27 Nov 2019 00:49:51 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "8c11e59d-e02f-469f-953b-6f745249b0e3", "X-Runtime": "0.004747", "X-Workarea-Segments": "", "Expires": "0", "Content-Length": "0" }, "request_method": "POST", "request_path": "/api/storefront/analytics/search", "request_body": "{\"q\":\"foo\",\"total_results\":5}", "request_content_type": "application/json", "response_status": 200, "response_status_text": "OK", "response_body": null, "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/storefront/analytics/search\" -d '{\"q\":\"foo\",\"total_results\":5}' -X POST \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Analytics", "description": "Saving a search", "route": "/api/storefront/analytics/search", "explanation": "

Saving a search will be reflected in admin reports. This is intended
\nto be called once per search performed by a customer.

\n", "http_method": "POST" }