# Email Template API Reference
Email template object:
{
"type": "email_templates",
"id": "(string)",
"attributes": {
"website_id": "string",
"event": "string",
"sender": "string",
"subject": "string",
"body": "string"
}
}
# Writable fields
| Field name | Creating | Updating |
|---|---|---|
| event | required|in:order-created,order-updated,transaction-paid,transaction-refunded,transaction-failure,fulfillment-pending,fulfillment-processing,fulfillment-success,fulfillment-cancelled,fulfillment-failure,abandoned-cart | not_fillable |
| sender | ||
| subject | string|required|max:255 | string|max:255 |
| body | string|required|max:65535 | string|required|max:65535 |