DPCPricing
Version: v3.0.0
Stored entity
Partition key pk, sort key sk
Overview
DPC Pricing Model - Stored as separate object per tenant
DynamoDB Structure: pk: TENANT#{tenant_id}DPC#{dpc_id} sk: DPC_PRICING
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
pk | str | ✅ | — | — |
sk | str | ✅ | — | — |
type | str | ✅ | — | — |
dpc_id | str | ✅ | — | — |
tenant_id | str | ✅ | — | — |
created_at | str | ❌ | — | — |
updated_at | str | ❌ | — | — |
retail | float | ❌ | — | — |
trade | float | ❌ | — | — |
walk_in | float | ❌ | — | — |
mrsp | float | ❌ | — | — |
network | float | ❌ | — | — |
trade_me | float | ❌ | — | — |
web_shop | float | ❌ | — | — |
ebay | float | ❌ | — | — |
parts_world | float | ❌ | — | — |
other | float | ❌ | — | — |
base_price | float | ❌ | — | — |
gumtree | float | ❌ | — | — |
facebook_marketplace | float | ❌ | — | — |
APIs / Triggers
| Trigger | Endpoint / Source | Detail | Handler |
|---|---|---|---|
| API | POST / | — | src/dpc_post.py |
| Stream | DynamoDB stream | table items where type = DISMANTLY_PART_CATALOG | src/sync/dpc_algolia_sync.py |
| API | GET /history | — | src/history/dpc_history_get.py |
| Event | EventBridge | PartCatalogCreated, PartCatalogUpdated | src/handle_dpc_images_processed.py |
| Event | EventBridge | DismantlyPartCatalogSelfHealRequested | src/dpc_self_heal.py |
Change history
v3.0.0 · 2025-11-03 · Olaniyi Ajayi · aeeedac4f
pricing fx
- Removed field
facebook_market_place(breaking). - Added optional field
facebook_marketplace.
v2.0.0 · 2025-10-25 · Olaniyi Ajayi · 57d145520
fx
- Removed field
facebook_marketplace(breaking). - Removed field
part_catalog_id(breaking). - Added required field
dpc_id. - Added optional field
facebook_market_place.
v1.0.0 · 2025-10-24 · Olaniyi Ajayi · bd5ef3280
updated dpc model
- Initial version.
Generated from
dismantly-backend/Microservices/DismantlyPartCatalog/dependencies/models.py. Do not edit by hand.