v46

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

Trigger Order Fulfilled Email to Employer

Send an email notification to employer admins when an order is fulfilled. Requires an API key with internal access. Checks email-employer-admin and email-order-fulfilled preferences.

post/v1/email/trigger/orderFulfilled/employer

Request body

orderItemIdstring required

The OrderItem ID to trigger the email for

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)