Skip to main content

TradeMeTemplate

Version: v6.0.0

Supporting model

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

Overview​

TradeMe template model

Fields​

FieldTypeRequiredDefaultDescription
item_typestr✅——
enabledbool✅——
upload_eventstr✅——
update_eventstr✅——
auto_relistbool✅——
imagesstr✅——
sub_titlestr❌——
descriptionstr✅——
formatFormat (Auction, BuyItNow)✅—Format enum for TradeMe listing types
start_pricestr❌——
buy_nowfloat❌——
reservefloat❌——
buy_it_nowstr❌——
payment_methodsList[int]✅——
shipping_optionint✅——
shipping_optionsList[TradeMeShippingOption]❌[]—
pickup_optionint✅——
durationint✅——
promotion_idint✅——
template_idstr❌——
created_atstr❌——
updated_atstr❌——
typestr❌TRADE_ME_TEMPLATE—

Embedded models​

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

TradeMeShippingOption — v2.0.0
FieldTypeRequiredDefaultDescription
methodstr❌——
typeint✅——
pricefloat❌——

Change history

  • v2.0.0 · 2025-05-17 · Cian (shared account) · Field price type changed: Optional[Decimal] → Optional[float] (breaking). (8cff53025)
  • v1.0.0 · 2025-03-29 · Cian (shared account) · Initial version. (010b96da8)

APIs / Triggers​

TriggerEndpoint / SourceDetailHandler
APIPOST /newtradeMe/template—src/trade_me_template_post.py

Change history​

v6.0.0 · 2026-06-13 · Cian (shared account) · 1de91b62f

Implement centralized part and vehicle title management

  • Removed field title (breaking).
v5.0.0 · 2025-09-25 · Olaniyi Ajayi · 963b01ead

fx

  • Added optional field buy_it_now.
  • Field payment_methods became required (breaking).
  • Field payment_methods default changed: [] → None.
v4.0.0 · 2025-09-25 · Olaniyi Ajayi · ab4817724

fx

  • Field format became required (breaking).
  • Field format default changed: Format.AUCTION → None.
v3.0.0 · 2025-09-24 · Olaniyi Ajayi · 1ac720aac

init

  • Added optional field format.
  • Field start_price type changed: str → Optional[str] (breaking).
  • Field start_price default changed: 'TradeMe' → None.
v2.1.0 · 2025-03-29 · Olaniyi Ajayi · b11956914

fx

  • Field payment_methods became optional.
  • Field payment_methods default changed: None → [].
  • Field shipping_options became optional.
  • Field shipping_options default changed: None → [].
v2.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 shipping_options type changed: List[int] → List[TradeMeShippingOption] (breaking).
v1.0.0 · 2025-03-16 · Cian (shared account) · feca668a3

models

  • Initial version.

Generated from dismantly-backend/Microservices/TradeMe/dependencies/models.py. Do not edit by hand.

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