TradeMeTemplateModel
Version: v7.0.0
Stored entity
Partition key pk, sort key sk
Overview
Trade me template model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
pk | str | ✅ | — | — |
sk | str | ✅ | — | — |
type | str | ✅ | — | — |
created_at | str | ✅ | — | — |
updated_at | str | ✅ | — | — |
template_id | str | ✅ | — | — |
tenant_id | str | ✅ | — | — |
item_type | str | ✅ | — | — |
enabled | bool | ✅ | — | — |
upload_event | str | ✅ | — | — |
update_event | str | ✅ | — | — |
auto_relist | bool | ✅ | — | — |
images | str | ✅ | — | — |
sub_title | str | ❌ | — | — |
description | str | ✅ | — | — |
format | Format (Auction, BuyItNow) | ✅ | — | Format enum for TradeMe listing types |
start_price | str | ❌ | — | — |
buy_it_now | str | ❌ | — | — |
buy_now | float | ❌ | — | — |
reserve | float | ❌ | — | — |
payment_methods | List[int] | ✅ | — | — |
shipping_option | int | ✅ | — | — |
shipping_options | List[TradeMeShippingOption] | ✅ | — | — |
pickup_option | int | ✅ | — | — |
duration | int | ✅ | — | — |
promotion_id | int | ✅ | — | — |
Embedded models
Models embedded in the fields above — shown inline; they have no separate page.
TradeMeShippingOption — v2.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
method | str | ❌ | — | — |
type | int | ✅ | — | — |
price | float | ❌ | — | — |
Change history
v2.0.0· 2025-05-17 · Cian (shared account) · Fieldpricetype changed: Optional[Decimal] → Optional[float] (breaking). (8cff53025)v1.0.0· 2025-03-29 · Cian (shared account) · Initial version. (010b96da8)
APIs / Triggers
| Trigger | Endpoint / Source | Detail | Handler |
|---|---|---|---|
| API | POST /newtradeMe/template | — | src/trade_me_template_post.py |
Change history
v7.0.0 · 2026-06-13 · Cian (shared account) · 1de91b62f
Implement centralized part and vehicle title management
- Removed field
title(breaking).
v6.1.0 · 2025-09-25 · Olaniyi Ajayi · 963b01ead
fx
- Added optional field
buy_it_now.
v6.0.0 · 2025-09-25 · Olaniyi Ajayi · ab4817724
fx
- Field
formatbecame required (breaking). - Field
formatdefault changed: Format.AUCTION → None.
v5.0.0 · 2025-09-24 · Olaniyi Ajayi · 1ac720aac
init
- Added optional field
format. - Field
start_pricetype changed: str → Optional[str] (breaking). - Field
start_pricedefault changed: 'TradeMe' → None.
v4.1.0 · 2025-05-25 · Cian (shared account) · 00df8fd7d
fx
- Added required field
tenant_id.
v4.0.0 · 2025-03-29 · Olaniyi Ajayi · b11956914
fx
- Field
buy_nowtype changed: Optional[Decimal] → Optional[float] (breaking). - Field
reservetype changed: Optional[Decimal] → Optional[float] (breaking).
v3.0.0 · 2025-03-29 · Cian (shared account) · 010b96da8
trade me
- Removed field
pickup_options(breaking). - Added required field
pickup_option. - Added required field
shipping_option. - Field
durationtype changed: Optional[int] → int (breaking). - Field
durationbecame required (breaking). - Field
promotion_idtype changed: Optional[int] → int (breaking). - Field
promotion_idbecame required (breaking). - Field
shipping_optionstype changed: List[int] → List[TradeMeShippingOption] (breaking).
v2.0.0 · 2025-03-25 · Olaniyi Ajayi · f21692968
fx
- Field
durationtype changed: Optional[str] → Optional[int] (breaking). - Field
imagestype changed: List[dict] → str (breaking). - Field
payment_methodstype changed: Optional[List[int]] → List[int] (breaking). - Field
payment_methodsbecame required (breaking). - Field
pickup_optionstype changed: Optional[List[dict]] → Optional[List[int]] (breaking). - Field
shipping_optionstype changed: Optional[List[dict]] → List[int] (breaking). - Field
shipping_optionsbecame required (breaking). - Field
start_pricetype changed: Optional[Decimal] → str (breaking). - Field
start_pricedefault changed: None → 'TradeMe'.
v1.0.0 · 2025-03-15 · Olaniyi Ajayi · 338416124
fx
- Initial version.
Generated from
dismantly-backend/Microservices/TradeMe/dependencies/models.py. Do not edit by hand.