{ "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; 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:58:06 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "ad3a27d3-9574-4cb2-81b7-47ef2bc6a308", "X-Runtime": "0.009632", "X-Workarea-Segments": "", "Expires": "0", "Content-Length": "61" }, "request_method": "POST", "request_path": "/api/storefront/email_signups", "request_body": "{\"email\":\"email@example.com\"}", "request_content_type": "application/json", "response_status": 200, "response_status_text": "OK", "response_body": "{\n \"id\": \"5f3d2fee0218236e938cfae3\",\n \"email\": \"email@example.com\"\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/storefront/email_signups\" -d '{\"email\":\"email@example.com\"}' -X POST \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Email Signups", "description": "Creating an email signup", "route": "/api/storefront/email_signups", "explanation": "
Use this endpoint to create an email signup. This will usually be
\nforwarded to an Email Service Provider, but Workarea will keep a
\nrecord of it just in case.