Subscription canceled email template
This template is sent after the subscription of a customer has been canceled.
Canceling a subscription can be done through both the merchant or customer dashboard.
The template receives:
| Variable | Type | Notes |
|---|---|---|
context |
string | Email, Pdf or Html. |
settings |
object | Store settings — see Settings. |
subscription |
Subscription | The subscription that was canceled. |
What you can access
| Path | Type |
|---|---|
subscription |
Subscription |
settings |
Settings |
Minimal example
{
"context": "Email",
"settings": { "businessAddress": { "company": "snipcart.com" } },
"subscription": {
"id": "e1e683ce-c6d3-4094-87fa-71a62cfe04df",
"name": "Monthly subscription",
"amount": 20,
"user": { "email": "geeks@snipcart.com" }
}
}