PartPurchase
Version: v1.0.0
Supporting model
A request/response or nested model — not a stored DynamoDB entity.
Overview
PartPurchase model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
part_purchase_id | str | ❌ | — | — |
contact | str | ✅ | — | — |
contact_id | str | ✅ | — | — |
arrival_date | str | ❌ | — | — |
arrival_status | str | ❌ | — | — |
reference | str | ❌ | — | — |
courier | str | ❌ | — | — |
courier_id | str | ❌ | — | — |
tracking_number | str | ❌ | — | — |
line_item_tax_type | str | ✅ | — | — |
line_items | List[PostLineItem] | ✅ | — | — |
Embedded models
Models embedded in the fields above — shown inline; they have no separate page.
PostLineItem — v1.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
line_item_id | str | ❌ | — | — |
part_id | str | ✅ | — | — |
tag_id | str | ✅ | — | — |
quantity | int | ✅ | — | — |
unit_cost | float | ✅ | — | — |
tax_type | str | ✅ | — | — |
part_type | str | ✅ | — | — |
part_type_id | str | ✅ | — | — |
part_number | str | ❌ | — | — |
Change history
v1.0.0· 2025-04-22 · Cian (shared account) · Initial version. (71ac3af7c)
APIs / Triggers
| Trigger | Endpoint / Source | Detail | Handler |
|---|---|---|---|
| API | POST /newpartPurchases/ | — | src/purchases/part_purchases_post.py |
Change history
v1.0.0 · 2025-04-22 · Cian (shared account) · 71ac3af7c
detatch
- Initial version.
Generated from
dismantly-backend/Microservices/PartPurchases/dependencies/models.py. Do not edit by hand.