Skip to main content

EbayFitment

Version: v9.0.0

Stored entity

Partition key pk, sort key sk • discriminator type = "EBAY_FITMENT"

Overview

EBAY_FITMENT record stored in DynamoDB

Fields

FieldTypeRequiredDefaultDescription
pkstr
skstrEBAY_FITMENT
typestrEBAY_FITMENT
dpc_idstr
tenant_idstr
user_idstr
fitmentList[EbayFitmentEntryAUSEbayFitmentEntryGBEbayFitmentEntryUS]
created_atstr
updated_atstr

Embedded models

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

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
StreamDynamoDB streamtable items where type is one of DISMANTLY_PART_CATALOG, DPC_EBAY, DPC_PRICING, DPC_STOCK_LIMIT, EBAY_FITMENTsrc/history/dpc_history_process.py
APIPUT /customsrc/dpc_custom_put.py
EventEventBridgePartCatalogImagesProcessedsrc/handle_ebay_fitment.py

Change history

v9.0.0 · 2026-02-21 · Cian (shared account) · 01f91baac

Rename 'eb_fitment' to 'fitment' across multiple services for consistency in data handling. Update related logic in utils and processing files to reflect this change, enhancing clarity and maintainability.

  • Removed field eb_fitment (breaking).
  • Added optional field fitment.
v8.0.0 · 2026-02-21 · Cian (shared account) · 618d7f3f9

Rename EBAY fitment key to eb_fitm

  • Removed field fitments (breaking).
  • Added optional field eb_fitment.
v7.0.0 · 2026-02-21 · Cian (shared account) · aa3f6458d

Refactor ebay fitment model validation in DPC post/put and part processing to enhance error handling and ensure data integrity.

  • Removed field country_code (breaking).
v6.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.

  • Removed field ebay_country_code (breaking).
  • Removed field ebay_mvl_id (breaking).
  • Removed field is_donor_vehicle_fitment (breaking).
  • Added required field country_code.
  • Added required field dpc_id.
  • Added optional field fitments.
  • Added required field pk.
  • Added optional field sk.
  • Added required field tenant_id.
  • Added optional field type.
  • Added required field user_id.
  • Field created_at became optional.
  • Field created_at default changed: None → Field(default_factory=lambda : datetime.now(timezone.utc).isoformat()).
  • Field updated_at became optional.
  • Field updated_at default changed: None → Field(default_factory=lambda : datetime.now(timezone.utc).isoformat()).
v5.1.0 · 2025-11-07 · Cian (shared account) · 3d5227b6d

fx

  • Field ebay_country_code enum value DNK added.
  • Field ebay_country_code enum value IND added.
v5.0.0 · 2025-11-06 · Cian (shared account) · bfb483713

fx

  • Field ebay_mvl_id type changed: list[str] → List[str] (breaking).
  • Field is_donor_vehicle_fitment became required (breaking).
  • Field is_donor_vehicle_fitment default changed: False → None.
v4.0.0 · 2025-11-06 · Olaniyi Ajayi · 461548bc3

fx

  • Field ebay_mvl_id type changed: str → list[str] (breaking).
v3.1.0 · 2025-11-06 · Olaniyi Ajayi · 829516596

fx

  • Added optional field is_donor_vehicle_fitment.
v3.0.0 · 2025-11-05 · Cian (shared account) · 364e097e2

fx

  • Field ebay_country_code enum value UK removed (breaking).
  • Field ebay_country_code enum value GB added.
v2.0.0 · 2025-10-30 · Olaniyi Ajayi · 55dc5862d

fx

  • Field ebay_country_code type changed: Country → CountryCodeEnum (breaking).
  • Field ebay_country_code enum value AUS added.
  • Field ebay_country_code enum value JP added.
  • Field ebay_country_code enum value NZ added.
  • Field ebay_country_code enum value UK added.
  • Field ebay_country_code enum value US added.
v1.0.0 · 2025-10-29 · Your Name · 4deeb48c2

fx

  • 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