Skip to main content

DPCCustomPut

Version: v5.0.0

Supporting model

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

Overview​

DPC custom PUT model.

Fields​

FieldTypeRequiredDefaultDescription
dpc_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_fitmentbool❌False—
part_attributesList[PartAttribute]❌[]—
fitmentList[Fitment]❌[]—
interchangeable_partsList[InterchangeablePart]❌[]—
imagesList[Image]❌[]—
applicable_regionsList[ApplicableRegion]❌[]—
dpc_sourceDPCSourceEnum❌——
additional_notesstr❌——
pricingDPCPricingPost❌——
ebayDPCEbayPost❌——
update_linked_partsbool❌False—
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_privatebool❌False—

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

Add interchange group GET endpoint

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

Add interchange group GET endpoint

  • Field interchangeable_parts type 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.

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