v46

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

Trigger Order Rejected Email to Employer

Send an email notification to employer admins when an order is rejected by a provider. Includes optional rejection reason.

post/v1/email/trigger/orderRejected/employer

Request body

orderItemIdstring required

The OrderItem ID to trigger the email for

reasonstring

Optional reason for the rejection

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)