Skip to main content

DPCPost

Version: v18.0.0

Supporting model

A request/response or nested model — not a stored DynamoDB entity.

Overview

DPC Post Model

Fields

FieldTypeRequiredDefaultDescription
idstr
part_typestr
part_type_idstr
more_precise_part_typestr
more_precise_part_type_idstr
part_numbersList[PartNumber][]
superseded_part_numbersList[PartNumber][]
interchangeable_part_numbersList[PartNumber][]
weight_gfloat
height_mmfloat
length_mmfloat
width_mmfloat
stock_limitint
is_universal_fitmentboolFalse
part_attributesList[PartAttribute][]
fitmentList[Fitment][]
interchangeable_partsList[InterchangeablePart][]
imagesList[Image][]
applicable_regionsList[ApplicableRegion][]
dpc_sourceDPCSourceEnum
is_system_wideboolFalse
additional_notesstr
pricingDPCPricingPost
ebayDPCEbayPost
update_linked_partsboolFalse
ebay_fitmentsList[EbayFitmentEntryAUSEbayFitmentEntryGBEbayFitmentEntryUS]
titlestr
images_statusDPCImagesStatus

Embedded models

Models embedded in the fields above — shown inline; they have no separate page.

PartNumber — v2.0.0
FieldTypeRequiredDefaultDescription
part_numberstr
part_number_cleanstr

Change history

  • v2.0.0 · 2025-10-24 · Olaniyi Ajayi · Removed field is_primary (breaking).; Removed field manufacturer (breaking).; Removed field number (breaking).; Added required field part_number.; Added required field part_number_clean. (bd5ef3280)
  • v1.0.0 · 2025-10-02 · Olaniyi Ajayi · Initial version. (310a3b54d)
PartAttribute — v4.0.0
FieldTypeRequiredDefaultDescription
value`strboolintfloat`
value_typeValueTypeEnum (STRING, FLOAT, INTEGER, BOOLEAN)Value Type Enum for attributes
display_namestr
created_atstr
updated_atstr

Change history

  • v4.0.0 · 2025-12-22 · Olaniyi Ajayi · Field value type changed: str → Union[str, bool, int, float] (breaking). (72439152a)
  • v3.0.0 · 2025-10-24 · Olaniyi Ajayi · Removed field id (breaking).; Removed field name (breaking).; Removed field values (breaking).; Added optional field created_at.; Added required field display_name.; Added optional field updated_at.; Added required field value.; Added required field value_type. (bd5ef3280)
  • v2.0.0 · 2025-10-17 · Olaniyi Ajayi · Removed field created_at (breaking).; Removed field description (breaking).; Removed field updated_at (breaking). (d69979131)
  • v1.0.0 · 2025-10-02 · Olaniyi Ajayi · Initial version. (310a3b54d)
InterchangeablePart — v3.0.0
FieldTypeRequiredDefaultDescription
idstr
dpc_idstr
dpc_numberstr
interchange_sourceInterchangeSourceEnum (SATURN, TENANT, DISMANTLY_RESEARCHED)SATURNInterchange source.
is_exact_interchangebool
relationship_typeInterchangeRelationshipTypeEnum (DIRECT_SUBSTITUTE, CONDITIONAL_SUBSTITUTE, DIRECTIONAL_SUBSTITUTE, COMPONENT_FULFILLMENT)Interchange relationship type.
substitution_directionInterchangeSubstitutionDirectionEnum
display_notestr
check_notesList[str]
created_atstr
updated_atstr

Change history

  • v3.0.0 · 2026-05-17 · Cian (shared account) · Removed field notes (breaking).; Removed field part_type (breaking).; Removed field part_type_id (breaking).; Added required field check_notes.; Added optional field display_note.; Added required field dpc_id.; Added optional field interchange_source.; Added required field relationship_type.; Added optional field substitution_direction.; Field created_at became required (breaking).; Field created_at default changed: Field(default_factory=lambda : datetime.now(timezone.utc).isoformat()) → None.; Field is_exact_interchange became required (breaking).; Field is_exact_interchange default changed: False → None.; Field updated_at became required (breaking).; Field updated_at default changed: Field(default_factory=lambda : datetime.now(timezone.utc).isoformat()) → None. (1ee3bc2c6)
  • v2.0.0 · 2025-10-24 · Olaniyi Ajayi · Removed field is_in_exact_interchange (breaking).; Added optional field is_exact_interchange.; Field dpc_number type changed: Optional[str] → str (breaking).; Field dpc_number became required (breaking).; Field id became required (breaking).; Field id default changed: Field(default_factory=lambda : str(uuid4())) → None. (bd5ef3280)
  • v1.0.0 · 2025-10-02 · Olaniyi Ajayi · Initial version. (310a3b54d)
Image — v1.0.0
FieldTypeRequiredDefaultDescription
urlstr
orderint
is_privateboolFalse

Change history

  • v1.0.0 · 2025-10-02 · Olaniyi Ajayi · Initial version. (310a3b54d)
ApplicableRegion — v2.2.0
FieldTypeRequiredDefaultDescription
country_codeCountryCodeEnum (NZ, AUS, SA, US, GB, JP, IND, DNK)Country Code Enum for applicable regions
created_atstr

Change history

  • v2.2.0 · 2026-06-07 · Cian (shared account) · Field country_code enum value SA added. (01a5f766a)
  • v2.1.0 · 2025-11-07 · Cian (shared account) · Field country_code enum value DNK added.; Field country_code enum value IND added. (3d5227b6d)
  • v2.0.0 · 2025-11-05 · Cian (shared account) · Field country_code enum value UK removed (breaking).; Field country_code enum value GB added. (364e097e2)
  • v1.0.0 · 2025-10-24 · Olaniyi Ajayi · Initial version. (bd5ef3280)
EbayFitmentEntryAUS — v3.2.1
FieldTypeRequiredDefaultDescription
fitment_idstr
epidsList[str]
yearsList[str]
makestr
modelstr
submodelstr
variantstr
plat_genstr
enginestr
bodystr
typestr
k_typestr
notesstr
sourceFitmentSourceEnum (MANUAL, DONOR_VEHICLE, EBAY)Fitment Source Enum

Change history

  • v3.2.1 · 2026-06-19 · Cian (shared account) · Field fitment_id default changed: None → Field(default=None, validation_alias=AliasChoices('fitment_id', 'id')). (78398ca73)
  • v3.2.0 · 2026-02-26 · Cian (shared account) · Added optional field body.; Added optional field k_type.; Added optional field plat_gen.; Added optional field type. (cb07776b8)
  • v3.1.0 · 2026-02-25 · Cian (shared account) · Added optional field variant. (6d5b61c43)
  • v3.0.0 · 2026-02-23 · Cian (shared account) · Removed field epid (breaking).; Removed field year (breaking).; Added required field epids.; Added required field years.; Field fitment_id default changed: Field(default_factory=lambda : str(uuid4())) → None. (96b46858b)
  • v2.0.0 · 2026-02-21 · Cian (shared account) · Field source enum value DISMANTLY_RESEARCHED removed (breaking).; Field source enum value TENANT_DEFINED removed (breaking).; Field source enum value EBAY added.; Field source enum value MANUAL added. (8c92e3702)
  • v1.0.1 · 2026-02-21 · Cian (shared account) · Field fitment_id default 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
FieldTypeRequiredDefaultDescription
fitment_idstr
makestr
modelstr
typestr
variantstr
chassisstr
yearsList[str][]
enginestr
notesstr
k_typestr
sourceFitmentSourceEnum (MANUAL, DONOR_VEHICLE, EBAY)Fitment Source Enum

Change history

  • v2.1.1 · 2026-06-19 · Cian (shared account) · Field fitment_id default changed: None → Field(default=None, validation_alias=AliasChoices('fitment_id', 'id')). (78398ca73)
  • v2.1.0 · 2026-02-25 · Cian (shared account) · Added optional field chassis.; Added optional field variant. (6d5b61c43)
  • v2.0.1 · 2026-02-23 · Cian (shared account) · Field fitment_id default changed: Field(default_factory=lambda : str(uuid4())) → None. (96b46858b)
  • v2.0.0 · 2026-02-21 · Cian (shared account) · Field source enum value DISMANTLY_RESEARCHED removed (breaking).; Field source enum value TENANT_DEFINED removed (breaking).; Field source enum value EBAY added.; Field source enum value MANUAL added. (8c92e3702)
  • v1.0.1 · 2026-02-21 · Cian (shared account) · Field fitment_id default 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
FieldTypeRequiredDefaultDescription
fitment_idstr
epidsList[str]
yearsList[str]
makestr
modelstr
trimstr
enginestr
submodelstr
aspirationstr
bodystr
notesstr
sourceFitmentSourceEnum (MANUAL, DONOR_VEHICLE, EBAY)Fitment Source Enum

Change history

  • v3.1.1 · 2026-06-19 · Cian (shared account) · Field fitment_id default changed: None → Field(default=None, validation_alias=AliasChoices('fitment_id', 'id')). (78398ca73)
  • v3.1.0 · 2026-02-26 · Cian (shared account) · Added optional field aspiration.; Added optional field body.; Added optional field submodel. (cb07776b8)
  • v3.0.0 · 2026-02-23 · Cian (shared account) · Removed field epid (breaking).; Removed field year (breaking).; Added required field epids.; Added required field years.; Field fitment_id default changed: Field(default_factory=lambda : str(uuid4())) → None. (96b46858b)
  • v2.0.0 · 2026-02-21 · Cian (shared account) · Field source enum value DISMANTLY_RESEARCHED removed (breaking).; Field source enum value TENANT_DEFINED removed (breaking).; Field source enum value EBAY added.; Field source enum value MANUAL added. (8c92e3702)
  • v1.0.1 · 2026-02-21 · Cian (shared account) · Field fitment_id default changed: None → Field(default_factory=lambda : str(uuid4())). (2ae906b24)
  • v1.0.0 · 2026-02-21 · Cian (shared account) · Initial version. (ebc6ae8ef)

APIs / Triggers

TriggerEndpoint / SourceDetailHandler
APIPOST /src/dpc_post.py

Change history

v18.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_parts type changed: List[DPCInterchangeablePart] → List[InterchangeablePart] (breaking).
v17.0.0 · 2026-05-17 · Cian (shared account) · bc3538fd9

Add interchange group GET endpoint

  • Field interchangeable_parts type changed: List[InterchangeablePart] → List[DPCInterchangeablePart] (breaking).
v16.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_parts type changed: List[DPCInterchangeablePart] → List[InterchangeablePart] (breaking).
v15.0.0 · 2026-05-17 · Cian (shared account) · 1ee3bc2c6

Add interchange group GET endpoint

  • Field interchangeable_parts type changed: List[InterchangeablePart] → List[DPCInterchangeablePart] (breaking).
v14.3.0 · 2026-05-10 · Cian (shared account) · dd96ed91e

Add id field to DPCPost model and update catalog_id assignment in build_dpc_item function

  • Added required field id.
v14.2.0 · 2026-05-09 · Cian (shared account) · abf653e48

Consolidate image processing into deterministic handlers

  • Added optional field images_status.
v14.1.0 · 2026-03-27 · Cian (shared account) · 12a79d754

Make DPC fitment flow event-driven via handlers

  • Added optional field update_linked_parts.
v14.0.0 · 2026-03-27 · Cian (shared account) · b08b6e52a

Revert "Make DPC fitment flow event-driven via handlers"

  • Removed field update_linked_parts (breaking).
v13.3.0 · 2026-03-27 · Cian (shared account) · b85dfe2af

Route DPC fitment updates through event-driven handlers

  • Added optional field update_linked_parts.
v13.2.0 · 2026-03-16 · Cian (shared account) · d2d218843

Add ebay object to DPC API

  • Added optional field ebay.
v13.1.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.
v13.0.0 · 2026-03-11 · Cian (shared account) · aba260abe

Add interchangeable_part_numbers field to DPC models and update related functions

  • Removed field applicable_years (breaking).
  • Removed field model_aliases (breaking).
  • Removed field month_from (breaking).
  • Removed field month_to (breaking).
  • Removed field veh_make (breaking).
  • Removed field veh_make_id (breaking).
  • Removed field veh_make_model (breaking).
  • Removed field veh_model (breaking).
  • Removed field veh_model_id (breaking).
  • Removed field vehicle_attributes (breaking).
  • Removed field year_from (breaking).
  • Removed field year_to (breaking).
  • Added optional field interchangeable_part_numbers.
  • Added optional field stock_limit.
v12.0.0 · 2026-03-07 · Clifford Usidamen · 7c5f4ca1e

added dpc and vehicle images

  • Removed field stock_limit (breaking).
  • Added optional field applicable_years.
  • Added optional field model_aliases.
  • Added optional field month_from.
  • Added optional field month_to.
  • Added optional field veh_make.
  • Added optional field veh_make_id.
  • Added optional field veh_make_model.
  • Added optional field veh_model.
  • Added optional field veh_model_id.
  • Added optional field vehicle_attributes.
  • Added optional field year_from.
  • Added optional field year_to.
v11.0.0 · 2026-03-06 · Cian (shared account) · 1808b0b9a

refactor(dpc): split put lambdas and migrate fitment-first schema

  • Removed field applicable_years (breaking).
  • Removed field model_aliases (breaking).
  • Removed field month_from (breaking).
  • Removed field month_to (breaking).
  • Removed field veh_make (breaking).
  • Removed field veh_make_id (breaking).
  • Removed field veh_make_model (breaking).
  • Removed field veh_model (breaking).
  • Removed field veh_model_id (breaking).
  • Removed field vehicle_attributes (breaking).
  • Removed field year_from (breaking).
  • Removed field year_to (breaking).
v10.1.0 · 2026-03-06 · Cian (shared account) · e6e7eb19b

feat(dpc): add custom/system-wide update contracts

  • Added optional field stock_limit.
v10.0.0 · 2026-02-21 · Cian (shared account) · 2ae906b24

Refactor ebay fitment handling in DPC post/put to build and save fitment items directly from payload, enhancing clarity and reducing redundancy.

  • Field ebay_fitments type changed: List[Dict[str, Any]] → List[Union[EbayFitmentEntryAUS, EbayFitmentEntryGB, EbayFitmentEntryUS]] (breaking).
v9.0.0 · 2026-02-21 · Cian (shared account) · ebc6ae8ef

Decouple ebay fitments into EBAY_FITMENT records

  • Field ebay_fitments type changed: List[EbayFitment] → List[Dict[str, Any]] (breaking).
v8.0.0 · 2026-02-21 · Cian (shared account) · 361b064be

Update ebay_fitments type annotations to List[EbayFitment] and change logging level from info to warning in dpc_post.py for improved clarity and error handling.

  • Field ebay_fitments type changed: list → List[EbayFitment] (breaking).
v7.2.0 · 2026-01-26 · Cian (shared account) · bfd9298b6

feat(models): Add title field to DPC models and update build functions

  • Added optional field title.
v7.1.0 · 2025-12-22 · Olaniyi Ajayi · 72439152a

fx

  • Added optional field ebay_fitments.
v7.0.0 · 2025-11-04 · Cian (shared account) · a27e5f27a

fx

  • Field month_from type changed: Optional[str] → Optional[int] (breaking).
  • Field month_to type changed: Optional[str] → Optional[int] (breaking).
  • Field year_from type changed: Optional[str] → Optional[int] (breaking).
  • Field year_to type changed: Optional[str] → Optional[int] (breaking).
v6.0.0 · 2025-11-03 · Olaniyi Ajayi · aeeedac4f

pricing fx

  • Removed field ebay_fitments (breaking).
  • Removed field supersedded_part_numbers (breaking).
  • Added optional field superseded_part_numbers.
v5.0.0 · 2025-10-30 · Cian (shared account) · 662787d9a

Revert "Dev v5"

  • Removed field superseded_part_numbers (breaking).
  • Added optional field ebay_fitments.
  • Added optional field supersedded_part_numbers.
v4.0.0 · 2025-10-30 · Olaniyi Ajayi · 086cd860d

fx

  • Removed field supersedded_part_numbers (breaking).
  • Added optional field superseded_part_numbers.
v3.0.0 · 2025-10-29 · Your Name · 4deeb48c2

fx

  • Removed field ebay_fitments (breaking).
v2.1.0 · 2025-10-29 · Olaniyi Ajayi · fba40b748

fx

  • Added optional field ebay_fitments.
v2.0.0 · 2025-10-24 · Olaniyi Ajayi · bd5ef3280

updated dpc model

  • Removed field height (breaking).
  • Removed field height_metric (breaking).
  • Removed field is_reported (breaking).
  • Removed field length (breaking).
  • Removed field length_metric (breaking).
  • Removed field oem_part_numbers (breaking).
  • Removed field superseded_part_numbers (breaking).
  • Removed field weight (breaking).
  • Removed field weight_metric (breaking).
  • Removed field width (breaking).
  • Removed field width_metric (breaking).
  • Added optional field applicable_regions.
  • Added optional field applicable_years.
  • Added optional field dpc_source.
  • Added optional field height_mm.
  • Added optional field length_mm.
  • Added optional field model_aliases.
  • Added optional field supersedded_part_numbers.
  • Added optional field veh_make_model.
  • Added optional field weight_g.
  • Added optional field width_mm.
  • Field fitment type changed: Optional[List[Fitment]] → List[Fitment] (breaking).
  • Field images became optional.
  • Field images default changed: None → [].
  • Field interchangeable_parts became optional.
  • Field interchangeable_parts default changed: None → [].
  • Field is_system_wide type changed: Optional[bool] → bool (breaking).
  • Field month_from type changed: Optional[int] → Optional[str] (breaking).
  • Field month_to type changed: Optional[int] → Optional[str] (breaking).
  • Field part_attributes became optional.
  • Field part_attributes default changed: None → [].
  • Field part_numbers became optional.
  • Field part_numbers default changed: None → [].
  • Field pricing type changed: Optional[Pricing] → Optional[DPCPricingPost] (breaking).
  • Field vehicle_attributes became optional.
  • Field vehicle_attributes default changed: None → [].
  • Field year_from type changed: Optional[int] → Optional[str] (breaking).
  • Field year_to type changed: Optional[int] → Optional[str] (breaking).
v1.3.0 · 2025-10-22 · Olaniyi Ajayi · 8d6556c72

added additional notes to dpc model

  • Added optional field additional_notes.
v1.2.0 · 2025-10-17 · Olaniyi Ajayi · d69979131

fix

  • Added optional field is_reported.
  • Added optional field oem_part_numbers.
  • Added optional field superseded_part_numbers.
v1.1.0 · 2025-10-03 · Olaniyi Ajayi · de10e3bc5

fx

  • Added optional field is_system_wide.
v1.0.0 · 2025-10-02 · Olaniyi Ajayi · 310a3b54d

init

  • Initial version.

Generated from dismantly-backend/Microservices/DismantlyPartCatalog/dependencies/models.py. Do not edit by hand.

Models last synced: 2026-06-23 13:21 UTC