/newsletter/confirm
Confirm newsletter subscription
Confirms a pending newsletter subscription using the token from the confirmation email. The token is consumed and cannot be reused.
Body required
| Field | Type |
|---|---|
token
|
string · nullable |
Responses
ConfirmNewsletterSubscriptionResponse
| Field | Type |
|---|---|
email
|
string · nullable |
Standard errors:
400
404
409
429
Errors
Examples
curl -X POST "https://api.erp.fluit.cloud/ecom/newsletter/confirm" \
-H "X-Tenant-Id: $FLUIT_TENANT_ID" \
-H "X-Channel: web" \
-H "Content-Type: application/json" \
-d @body.json
{
"email": "order@acme.se"
}
Base URL https://api.erp.fluit.cloud/ecom. The response example is generated from the schema: the shape is right, the values are made up.