Skip to content
Analytics & OperationsNewsletter

Confirm a newsletter subscription

Subscribes the customer whose confirmation link carries this token. The link expires 7 days after it was sent, and an unsubscribe in between cancels it.

POST/v1/newsletter/confirmations
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/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

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