Skip to content
Analytics & OperationsNewsletter

Subscribe to the newsletter

Emails a confirmation link to the address. It becomes a subscribed customer only after opening the link, within 7 days. Requires a captcha token in the X-Captcha-Token header. The answer is the same when the address was already subscribed, so the list is never revealed.

POST/v1/newsletter/subscriptions
No token

Header Parameters

x-Store-Domain*string

Slug of the store or one of its configured domains, such as my-store.

Length1 <= length <= 253

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://storefront.ecomiq.pe/v1/newsletter/subscriptions" \  -H "x-Store-Domain: my-store" \  -H "Content-Type: application/json" \  -d '{    "email": "andrea.ramos@example.com"  }'
Empty