---
title: "Send order email with selected template"
method: POST
path: "/orders/send-email/{id}"
tags: ["Order Controller"]
---

# Send order email with selected template

`POST /orders/send-email/{id}`

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).

## Path parameters

- `id` number, required

## Request body

- SendOrderEmailDto
  - `subject` string — Custom subject for the email
  - `body` string — Custom body for the email (HTML supported). Use {{DOCUMENT_LINK}} for the document access button. Use {{UPSELL_LINK}} or {{upsellLink}} for the upsell checkout button when upSell product IDs are provided; if omitted, the upsell button is inserted after "link below" or appended to the body.
  - `upSell` number[] — Array of product IDs for upselling
  - `isPostage` boolean — When true and email is sent successfully, order status will be updated to Postage.
  - `applicationNumber` string, nullable — Certified orders only when non-empty. Omit to leave unchanged; null clears the stored value.

## Response `200`

Email sent successfully

## Other responses

- `400` — Payment not completed or other bad request
- `404` — Order or template not found

---

[API](https://skmtc.dev/findmydocument/apis/land-registry-api.md) · [All operations](https://skmtc.dev/findmydocument/apis/land-registry-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/findmydocument/land-registry-api/revisions/b55a990514fb/schema)
