DPCCustomPut
Version: v5.0.0
A request/response or nested model — not a stored DynamoDB entity.
Overview
DPC custom PUT model.
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
dpc_id | str | ✅ | — | — |
part_type | str | ✅ | — | — |
part_type_id | str | ✅ | — | — |
more_precise_part_type | str | ❌ | — | — |
more_precise_part_type_id | str | ❌ | — | — |
part_numbers | List[PartNumber] | ❌ | [] | — |
superseded_part_numbers | List[PartNumber] | ❌ | [] | — |
interchangeable_part_numbers | List[PartNumber] | ❌ | [] | — |
weight_g | float | ❌ | — | — |
height_mm | float | ❌ | — | — |
length_mm | float | ❌ | — | — |
width_mm | float | ❌ | — | — |
stock_limit | int | ❌ | — | — |
is_universal_fitment | bool | ❌ | False | — |
part_attributes | List[PartAttribute] | ❌ | [] | — |
fitment | List[Fitment] | ❌ | [] | — |
interchangeable_parts | List[InterchangeablePart] | ❌ | [] | — |
images | List[Image] | ❌ | [] | — |
applicable_regions | List[ApplicableRegion] | ❌ | [] | — |
dpc_source | DPCSourceEnum | ❌ | — | — |
additional_notes | str | ❌ | — | — |
pricing | DPCPricingPost | ❌ | — | — |
ebay | DPCEbayPost | ❌ | — | — |
update_linked_parts | bool | ❌ | False | — |
ebay_fitments | List[EbayFitmentEntryAUS | EbayFitmentEntryGB | EbayFitmentEntryUS] | ❌ |
title | str | ❌ | — | — |
images_status | DPCImagesStatus | ❌ | — | — |
Embedded models
Models embedded in the fields above — shown inline; they have no separate page.
PartNumber — v2.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
part_number | str | ✅ | — | — |
part_number_clean | str | ✅ | — | — |
Change history
v2.0.0· 2025-10-24 · Olaniyi Ajayi · Removed fieldis_primary(breaking).; Removed fieldmanufacturer(breaking).; Removed fieldnumber(breaking).; Added required fieldpart_number.; Added required fieldpart_number_clean. (bd5ef3280)v1.0.0· 2025-10-02 · Olaniyi Ajayi · Initial version. (310a3b54d)
PartAttribute — v4.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | `str | bool | int | float` |
value_type | ValueTypeEnum (STRING, FLOAT, INTEGER, BOOLEAN) | ✅ | — | Value Type Enum for attributes |
display_name | str | ✅ | — | — |
created_at | str | ❌ | — | — |
updated_at | str | ❌ | — | — |
Change history
v4.0.0· 2025-12-22 · Olaniyi Ajayi · Fieldvaluetype changed: str → Union[str, bool, int, float] (breaking). (72439152a)v3.0.0· 2025-10-24 · Olaniyi Ajayi · Removed fieldid(breaking).; Removed fieldname(breaking).; Removed fieldvalues(breaking).; Added optional fieldcreated_at.; Added required fielddisplay_name.; Added optional fieldupdated_at.; Added required fieldvalue.; Added required fieldvalue_type. (bd5ef3280)v2.0.0· 2025-10-17 · Olaniyi Ajayi · Removed fieldcreated_at(breaking).; Removed fielddescription(breaking).; Removed fieldupdated_at(breaking). (d69979131)v1.0.0· 2025-10-02 · Olaniyi Ajayi · Initial version. (310a3b54d)
InterchangeablePart — v3.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
id | str | ✅ | — | — |
dpc_id | str | ✅ | — | — |
dpc_number | str | ✅ | — | — |
interchange_source | InterchangeSourceEnum (SATURN, TENANT, DISMANTLY_RESEARCHED) | ❌ | SATURN | Interchange source. |
is_exact_interchange | bool | ✅ | — | — |
relationship_type | InterchangeRelationshipTypeEnum (DIRECT_SUBSTITUTE, CONDITIONAL_SUBSTITUTE, DIRECTIONAL_SUBSTITUTE, COMPONENT_FULFILLMENT) | ✅ | — | Interchange relationship type. |
substitution_direction | InterchangeSubstitutionDirectionEnum | ✅ | — | — |
display_note | str | ✅ | — | — |
check_notes | List[str] | ✅ | — | — |
created_at | str | ✅ | — | — |
updated_at | str | ✅ | — | — |
Change history
v3.0.0· 2026-05-17 · Cian (shared account) · Removed fieldnotes(breaking).; Removed fieldpart_type(breaking).; Removed fieldpart_type_id(breaking).; Added required fieldcheck_notes.; Added optional fielddisplay_note.; Added required fielddpc_id.; Added optional fieldinterchange_source.; Added required fieldrelationship_type.; Added optional fieldsubstitution_direction.; Fieldcreated_atbecame required (breaking).; Fieldcreated_atdefault changed: Field(default_factory=lambda : datetime.now(timezone.utc).isoformat()) → None.; Fieldis_exact_interchangebecame required (breaking).; Fieldis_exact_interchangedefault changed: False → None.; Fieldupdated_atbecame required (breaking).; Fieldupdated_atdefault changed: Field(default_factory=lambda : datetime.now(timezone.utc).isoformat()) → None. (1ee3bc2c6)v2.0.0· 2025-10-24 · Olaniyi Ajayi · Removed fieldis_in_exact_interchange(breaking).; Added optional fieldis_exact_interchange.; Fielddpc_numbertype changed: Optional[str] → str (breaking).; Fielddpc_numberbecame required (breaking).; Fieldidbecame required (breaking).; Fieldiddefault changed: Field(default_factory=lambda : str(uuid4())) → None. (bd5ef3280)v1.0.0· 2025-10-02 · Olaniyi Ajayi · Initial version. (310a3b54d)
Image — v1.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
url | str | ✅ | — | — |
order | int | ✅ | — | — |
is_private | bool | ❌ | False | — |
Change history
v1.0.0· 2025-10-02 · Olaniyi Ajayi · Initial version. (310a3b54d)
ApplicableRegion — v2.2.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
country_code | CountryCodeEnum (NZ, AUS, SA, US, GB, JP, IND, DNK) | ✅ | — | Country Code Enum for applicable regions |
created_at | str | ❌ | — | — |
Change history
v2.2.0· 2026-06-07 · Cian (shared account) · Fieldcountry_codeenum valueSAadded. (01a5f766a)v2.1.0· 2025-11-07 · Cian (shared account) · Fieldcountry_codeenum valueDNKadded.; Fieldcountry_codeenum valueINDadded. (3d5227b6d)v2.0.0· 2025-11-05 · Cian (shared account) · Fieldcountry_codeenum valueUKremoved (breaking).; Fieldcountry_codeenum valueGBadded. (364e097e2)v1.0.0· 2025-10-24 · Olaniyi Ajayi · Initial version. (bd5ef3280)
EbayFitmentEntryAUS — v3.2.1
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
fitment_id | str | ❌ | — | — |
epids | List[str] | ✅ | — | — |
years | List[str] | ✅ | — | — |
make | str | ❌ | — | — |
model | str | ❌ | — | — |
submodel | str | ❌ | — | — |
variant | str | ❌ | — | — |
plat_gen | str | ❌ | — | — |
engine | str | ❌ | — | — |
body | str | ❌ | — | — |
type | str | ❌ | — | — |
k_type | str | ❌ | — | — |
notes | str | ❌ | — | — |
source | FitmentSourceEnum (MANUAL, DONOR_VEHICLE, EBAY) | ✅ | — | Fitment Source Enum |
Change history
v3.2.1· 2026-06-19 · Cian (shared account) · Fieldfitment_iddefault changed: None → Field(default=None, validation_alias=AliasChoices('fitment_id', 'id')). (78398ca73)v3.2.0· 2026-02-26 · Cian (shared account) · Added optional fieldbody.; Added optional fieldk_type.; Added optional fieldplat_gen.; Added optional fieldtype. (cb07776b8)v3.1.0· 2026-02-25 · Cian (shared account) · Added optional fieldvariant. (6d5b61c43)v3.0.0· 2026-02-23 · Cian (shared account) · Removed fieldepid(breaking).; Removed fieldyear(breaking).; Added required fieldepids.; Added required fieldyears.; Fieldfitment_iddefault changed: Field(default_factory=lambda : str(uuid4())) → None. (96b46858b)v2.0.0· 2026-02-21 · Cian (shared account) · Fieldsourceenum valueDISMANTLY_RESEARCHEDremoved (breaking).; Fieldsourceenum valueTENANT_DEFINEDremoved (breaking).; Fieldsourceenum valueEBAYadded.; Fieldsourceenum valueMANUALadded. (8c92e3702)v1.0.1· 2026-02-21 · Cian (shared account) · Fieldfitment_iddefault changed: None → Field(default_factory=lambda : str(uuid4())). (2ae906b24)v1.0.0· 2026-02-21 · Cian (shared account) · Initial version. (ebc6ae8ef)
EbayFitmentEntryGB — v2.1.1
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
fitment_id | str | ❌ | — | — |
make | str | ❌ | — | — |
model | str | ❌ | — | — |
type | str | ❌ | — | — |
variant | str | ❌ | — | — |
chassis | str | ❌ | — | — |
years | List[str] | ❌ | [] | — |
engine | str | ❌ | — | — |
notes | str | ❌ | — | — |
k_type | str | ✅ | — | — |
source | FitmentSourceEnum (MANUAL, DONOR_VEHICLE, EBAY) | ✅ | — | Fitment Source Enum |
Change history
v2.1.1· 2026-06-19 · Cian (shared account) · Fieldfitment_iddefault changed: None → Field(default=None, validation_alias=AliasChoices('fitment_id', 'id')). (78398ca73)v2.1.0· 2026-02-25 · Cian (shared account) · Added optional fieldchassis.; Added optional fieldvariant. (6d5b61c43)v2.0.1· 2026-02-23 · Cian (shared account) · Fieldfitment_iddefault changed: Field(default_factory=lambda : str(uuid4())) → None. (96b46858b)v2.0.0· 2026-02-21 · Cian (shared account) · Fieldsourceenum valueDISMANTLY_RESEARCHEDremoved (breaking).; Fieldsourceenum valueTENANT_DEFINEDremoved (breaking).; Fieldsourceenum valueEBAYadded.; Fieldsourceenum valueMANUALadded. (8c92e3702)v1.0.1· 2026-02-21 · Cian (shared account) · Fieldfitment_iddefault changed: None → Field(default_factory=lambda : str(uuid4())). (2ae906b24)v1.0.0· 2026-02-21 · Cian (shared account) · Initial version. (ebc6ae8ef)
EbayFitmentEntryUS — v3.1.1
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
fitment_id | str | ❌ | — | — |
epids | List[str] | ✅ | — | — |
years | List[str] | ✅ | — | — |
make | str | ❌ | — | — |
model | str | ❌ | — | — |
trim | str | ❌ | — | — |
engine | str | ❌ | — | — |
submodel | str | ❌ | — | — |
aspiration | str | ❌ | — | — |
body | str | ❌ | — | — |
notes | str | ❌ | — | — |
source | FitmentSourceEnum (MANUAL, DONOR_VEHICLE, EBAY) | ✅ | — | Fitment Source Enum |
Change history
v3.1.1· 2026-06-19 · Cian (shared account) · Fieldfitment_iddefault changed: None → Field(default=None, validation_alias=AliasChoices('fitment_id', 'id')). (78398ca73)v3.1.0· 2026-02-26 · Cian (shared account) · Added optional fieldaspiration.; Added optional fieldbody.; Added optional fieldsubmodel. (cb07776b8)v3.0.0· 2026-02-23 · Cian (shared account) · Removed fieldepid(breaking).; Removed fieldyear(breaking).; Added required fieldepids.; Added required fieldyears.; Fieldfitment_iddefault changed: Field(default_factory=lambda : str(uuid4())) → None. (96b46858b)v2.0.0· 2026-02-21 · Cian (shared account) · Fieldsourceenum valueDISMANTLY_RESEARCHEDremoved (breaking).; Fieldsourceenum valueTENANT_DEFINEDremoved (breaking).; Fieldsourceenum valueEBAYadded.; Fieldsourceenum valueMANUALadded. (8c92e3702)v1.0.1· 2026-02-21 · Cian (shared account) · Fieldfitment_iddefault changed: None → Field(default_factory=lambda : str(uuid4())). (2ae906b24)v1.0.0· 2026-02-21 · Cian (shared account) · Initial version. (ebc6ae8ef)
APIs / Triggers
| Trigger | Endpoint / Source | Detail | Handler |
|---|---|---|---|
| API | PUT /custom | — | src/dpc_custom_put.py |
Change history
v5.0.0 · 2026-05-21 · Cian (shared account) · 5dc069f60
Refactor DPC models and update interchangeable parts handling for improved compatibility and clarity. Introduce new utility functions for ISO datetime parsing and nested row management in validation processes.
- Field
interchangeable_partstype changed: List[DPCInterchangeablePart] → List[InterchangeablePart] (breaking).
v4.0.0 · 2026-05-17 · Cian (shared account) · bc3538fd9
Add interchange group GET endpoint
- Field
interchangeable_partstype changed: List[InterchangeablePart] → List[DPCInterchangeablePart] (breaking).
v3.0.0 · 2026-05-21 · Cian (shared account) · 1769b7342
Refactor DPC models and update interchangeable parts handling for improved compatibility and clarity. Introduce new utility functions for ISO datetime parsing and nested row management in validation processes.
- Field
interchangeable_partstype changed: List[DPCInterchangeablePart] → List[InterchangeablePart] (breaking).
v2.0.0 · 2026-05-17 · Cian (shared account) · 1ee3bc2c6
Add interchange group GET endpoint
- Field
interchangeable_partstype changed: List[InterchangeablePart] → List[DPCInterchangeablePart] (breaking).
v1.5.0 · 2026-05-09 · Cian (shared account) · abf653e48
Consolidate image processing into deterministic handlers
- Added optional field
images_status.
v1.4.0 · 2026-03-17 · Cian (shared account) · d55abe0b2
Add update_linked_parts flag to DPC APIs and implement linked parts update functionality in main processing functions. Introduce new AWS Lambda function to handle linked PART record synchronization upon DPC updates.
- Added optional field
update_linked_parts.
v1.3.0 · 2026-03-16 · Cian (shared account) · d2d218843
Add ebay object to DPC API
- Added optional field
ebay.
v1.2.0 · 2026-03-13 · genius-autos-dev · 7234c1087
Add more precise part type fields to DPC models and update related functions
- Added optional field
more_precise_part_type. - Added optional field
more_precise_part_type_id.
v1.1.0 · 2026-03-11 · Cian (shared account) · aba260abe
Add interchangeable_part_numbers field to DPC models and update related functions
- Added optional field
interchangeable_part_numbers.
v1.0.0 · 2026-03-06 · Cian (shared account) · 6c98f838b
refactor(dpc): rename DPCPut to DPCCustomPut
- Initial version.
Generated from
dismantly-backend/Microservices/DismantlyPartCatalog/dependencies/models.py. Do not edit by hand.