{ "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, 27 Nov 2019 00:49:17 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "8479964a-90ec-4708-96af-56ae68f23f94", "X-Runtime": "0.012033", "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\": \"5dddc80d1241596aa52044ec\",\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.