{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Content-Type": "application/x-www-form-urlencoded" }, "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:50 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "c90fb4ed-3560-41d0-bebf-9093dc49aebb", "X-Runtime": "0.007557", "X-Workarea-Segments": "", "Expires": "0", "Content-Length": "0" }, "request_method": "POST", "request_path": "/api/storefront/analytics/product_view/12345", "request_body": null, "request_content_type": "application/x-www-form-urlencoded", "response_status": 200, "response_status_text": "OK", "response_body": null, "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/storefront/analytics/product_view/12345\" -d '' -X POST \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\"" } ], "resource": "Analytics", "description": "saving a product view", "route": "/api/storefront/analytics/product_view/:product_id", "explanation": "

saving a product view will be reflected in admin reports

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