v46

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-011274550.0 KB
Email Triggers

Trigger Employee Notified Email to Employer

Send an email notification to employer admins when an employee has been notified about their order via email or SMS.

post/v1/email/trigger/employeeNotified/employer

Request body

orderItemIdstring required

The OrderItem ID to trigger the email for

method'email' | 'sms' required

How the employee was notified: email or sms

Response

Default Response

sentboolean required

Whether the email was sent successfully

recipientCountnumber

Number of recipients the email was sent to

reasonstring

Reason why the email was not sent (if sent is false)