EbayFitment
Version: v9.0.0
Partition key pk, sort key sk • discriminator type = "EBAY_FITMENT"
Overview
EBAY_FITMENT record stored in DynamoDB
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
pk | str | ✅ | — | — |
sk | str | ❌ | EBAY_FITMENT | — |
type | str | ❌ | EBAY_FITMENT | — |
dpc_id | str | ✅ | — | — |
tenant_id | str | ✅ | — | — |
user_id | str | ✅ | — | — |
fitment | List[EbayFitmentEntryAUS | EbayFitmentEntryGB | EbayFitmentEntryUS] | ❌ |
created_at | str | ❌ | — | — |
updated_at | str | ❌ | — | — |
Embedded models
Models embedded in the fields above — shown inline; they have no separate page.
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 | POST / | — | src/dpc_post.py |
| Stream | DynamoDB stream | table items where type is one of DISMANTLY_PART_CATALOG, DPC_EBAY, DPC_PRICING, DPC_STOCK_LIMIT, EBAY_FITMENT | src/history/dpc_history_process.py |
| API | PUT /custom | — | src/dpc_custom_put.py |
| Event | EventBridge | PartCatalogImagesProcessed | src/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_atbecame optional. - Field
created_atdefault changed: None → Field(default_factory=lambda : datetime.now(timezone.utc).isoformat()). - Field
updated_atbecame optional. - Field
updated_atdefault 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_codeenum valueDNKadded. - Field
ebay_country_codeenum valueINDadded.
v5.0.0 · 2025-11-06 · Cian (shared account) · bfb483713
fx
- Field
ebay_mvl_idtype changed: list[str] → List[str] (breaking). - Field
is_donor_vehicle_fitmentbecame required (breaking). - Field
is_donor_vehicle_fitmentdefault changed: False → None.
v4.0.0 · 2025-11-06 · Olaniyi Ajayi · 461548bc3
fx
- Field
ebay_mvl_idtype 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_codeenum valueUKremoved (breaking). - Field
ebay_country_codeenum valueGBadded.
v2.0.0 · 2025-10-30 · Olaniyi Ajayi · 55dc5862d
fx
- Field
ebay_country_codetype changed: Country → CountryCodeEnum (breaking). - Field
ebay_country_codeenum valueAUSadded. - Field
ebay_country_codeenum valueJPadded. - Field
ebay_country_codeenum valueNZadded. - Field
ebay_country_codeenum valueUKadded. - Field
ebay_country_codeenum valueUSadded.
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.