PurchaseEmailModel
Version: v2.1.0
Supporting model
A request/response or nested model — not a stored DynamoDB entity.
Overview
PurchaseEmailModel model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
email_to | List[str] | ✅ | — | — |
subject | str | ✅ | — | — |
body | str | ✅ | — | — |
send_user_copy | bool | ❌ | False | — |
sender_email | str | ❌ | — | — |
include_pdf_attachment | bool | ❌ | False | — |
tenant_accounts_email | str | ❌ | — | — |
tenant_business_name | str | ❌ | — | — |
form_link | str | ❌ | — | — |
APIs / Triggers
| Trigger | Endpoint / Source | Detail | Handler |
|---|---|---|---|
| API | POST /newvehiclePurchase/email | — | src/email/purchase_email.py |
Change history
v2.1.0 · 2026-01-14 · Olaniyi Ajayi · 2341dab0b
feat(email): Update PurchaseEmailModel and enhance email template processing
- Added optional field
form_link.
v2.0.0 · 2026-01-14 · Olaniyi Ajayi · 021d50806
fx
- Removed field
vehicle_purchase_id(breaking).
v1.0.0 · 2026-01-13 · Olaniyi Ajayi · 2a248e60a
feat(purchase): Add email confirmation functionality for vehicle purchases
- Initial version.
Generated from
dismantly-backend/Microservices/Purchase/dependencies/models.py. Do not edit by hand.