Entidad · newsletter_templates
Newsletter Template Schema
Campos
Newsletter Template Schema
Schema for reusable newsletter email templates
name
1–200 caracteres
description
admite null
category
Valores
GENERALPRODUCT_UPDATEMAINTENANCESECURITY_ALERTWELCOMECUSTOMValor por defecto: "GENERAL"
subject
1–500 caracteres
htmlContent
mín. 1 caracteres
textContent
admite null
tiptapContent
admite null
previewImageUrl
admite null
variables
Valor por defecto: []
isDefault
Valor por defecto: false
tags
admite null
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/newsletter_templates— Lista, paginada y filtrableGET /api/v1/newsletter_templates/<id>— Una entidadPOST /api/v1/newsletter_templates— CrearPATCH /api/v1/newsletter_templates/<id>— Actualización parcialDELETE /api/v1/newsletter_templates/<id>— Eliminación lógicaGET /api/v1/newsletter_templates/<id>/timeline— Auditoría y actividades