v46

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

Trigger Order Updated Email to Employer

Send an email notification to employer admins when an order status changes. Includes optional previous and new status.

post/v1/email/trigger/orderUpdated/employer

Request body

orderItemIdstring required

The OrderItem ID to trigger the email for

previousStatusstring

The previous status of the order item

newStatusstring

The new status of the order item

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)