Order Controller
Send order email with selected template
Send order email using subject/body and any draft attachments previously staged via POST /orders/draft-attachments/:id. Draft attachments are merged automatically and cleared after a successful send. Optional applicationNumber: omit to leave unchanged, null to clear; non-empty values require a certified order (isCertified) and are persisted on the order after a successful send (not inserted into email body).
post/orders/send-email/{id}
Path parameters
idnumber required
Example:1
The ID of the entity
Request body
Example request
{
"subject": "Your Order Confirmation",
"body": "<p>Hello {{customerName}}, your order is being processed.</p><p>Access your documents:</p>{{DOCUMENT_LINK}}<p>{{UPSELL_LINK}}</p>",
"upSell": [
1,
2
],
"isPostage": true,
"applicationNumber": "APP-12345"
}Response
Email sent successfully
Changes
No recorded changes to this endpoint across all 1 revision of this API.