PUT
Auth Required
Update Email Template
Update an existing email template.
https://hoodsly-moc-api.wppool.dev/api/v1/email-templates/{id}
Request Body
JSON
{
"title": "Order Confirmation - Updated",
"subject": "Updated subject with {order_id}",
"body": "Updated email body content",
"note": "Updated template notes"
}
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Optional | Template title |
subject | string | Optional | Email subject line |
body | string | Optional | Email body content |
event | string | Optional | Trigger event |
receipent_type | string | Optional | Recipient type |
note | string | Optional | Internal notes |
Response
200 OK
{
"message": "Email template updated successfully",
"template": {
"id": 1,
"title": "Order Confirmation - Updated",
"updated_at": "2026-01-06T12:00:00Z"
}
}
Request
GET
/api/v1/status
Response