Store Email Templates
List Store Email Templates (DataTable)
Returns a paginated DataTable listing of store email templates.
Create Store Email Template
Creates a new store email template. Always creates as a non-system template.
Bulk Delete Store Email Templates
Bulk deletes multiple store email templates by ID array or current DataTable filters.
List User Templates
Returns only non-system (user-created) email templates. Excludes system templates that are managed by the application.
Get Store Email Template
Returns a single store email template with its HTML body.
Update Store Email Template
Updates an existing store email template. All fields are optional.
Delete Store Email Template
Deletes a single store email template.
Archive Store Email Template
Archives a single store email template. Idempotent — returns a warning if already archived.
Unarchive Store Email Template
Unarchives a single store email template.
Bulk Archive Store Email Templates
Bulk archives multiple store email templates by ID array or current DataTable filters.
Bulk Unarchive Store Email Templates
Bulk unarchives multiple store email templates by ID array or current DataTable filters.
Check Deletable
Check which nominal codes can be deleted. A code cannot be deleted if it is linked to sales order lines or used in nominal code mapping settings.
Preview Template
Previews a template with rendered variable substitutions. For bulk_purchase_order type, uses the bulk preview renderer.
Send Email
Sends a custom email to the customer/supplier associated with an order. Supports purchase_order and other order types.