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

FieldTypeRequiredDescription
titlestringOptionalTemplate title
subjectstringOptionalEmail subject line
bodystringOptionalEmail body content
eventstringOptionalTrigger event
receipent_typestringOptionalRecipient type
notestringOptionalInternal 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