Email Templates API
Manage notification email templates for different events.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/email/template | List templates |
| POST | /api/v1/email/template/create | Create template |
| GET | /api/v1/email/template/{id} | Get template |
| PUT | /api/v1/email/template/update/{id} | Update template |
| DELETE | /api/v1/email/template/{id} | Delete template |
Events
| Event | Description |
|---|---|
order_created | New order confirmation |
order_shipped | Shipping notification |
failed_order_requires_review | Admin alert for failed orders |
Template Variables
Available placeholders: {order_id}, {customer_name}, {order_total}, {estimated_shipping_date}, {product_list}, {tracking_number}, {shop_name}, {shop_email}
Request
GET
/api/v1/status
Response