/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 krävs
| Fält | Typ |
|---|---|
token
|
string · nullable |
Svar
ConfirmNewsletterSubscriptionResponse
| Fält | Typ |
|---|---|
email
|
string · nullable |
Standardfel:
400
404
409
429
Felhantering
Exempel
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"
}
Bas-URL https://api.erp.fluit.cloud/ecom. Svarsexemplet är genererat ur schemat: formen stämmer, värdena är påhittade.