TradeMePost
Version: v2.0.0
Supporting model
A request/response or nested model — not a stored DynamoDB entity.
Overview
TradeMePost model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
id | str | ✅ | — | — |
auto_relist | bool | ✅ | — | — |
images | List[Image] | ✅ | — | — |
type | str | ✅ | — | — |
trade_me_object | TradeMeObjectPost | ✅ | — | TradeMe Object Model |
Embedded models
Models embedded in the fields above — shown inline; they have no separate page.
Image — v1.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
url | str | ✅ | — | — |
Change history
v1.0.0· 2025-03-16 · Cian (shared account) · Initial version. (feca668a3)
TradeMeObjectPost — v3.0.1
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
AuthenticatedMembersOnly | bool | ✅ | — | — |
Category | str | ✅ | — | — |
Description | List[str] | ✅ | — | — |
Duration | int | ✅ | — | — |
IsBrandNew | bool | ✅ | — | — |
IsClassified | bool | ✅ | — | — |
PaymentMethods | List[int] | ✅ | — | — |
Pickup | int | ✅ | — | — |
PromotionId | int | ✅ | — | — |
SendPaymentInstructions | bool | ✅ | — | — |
ShippingOptions | List[ShippingOption] | ✅ | — | — |
Format | Format (Auction, BuyItNow) | ✅ | — | Format enum for TradeMe listing types |
StartPrice | float | ❌ | — | — |
Subtitle | str | ❌ | — | — |
Title | str | ✅ | — | — |
BuyNowPrice | float | ❌ | — | — |
ReservePrice | float | ❌ | — | — |
PhotoIds | List[int] | ❌ | — | — |
Quantity | int | ❌ | 1 | — |
Change history
v3.0.1· 2026-03-16 · Cian (shared account) · FieldPhotoIdsdefault changed: [] → None. (99d7ef9d3)v3.0.0· 2025-09-25 · Olaniyi Ajayi · FieldFormatbecame required (breaking).; FieldFormatdefault changed: Format.AUCTION → None. (ab4817724)v2.0.0· 2025-09-24 · Olaniyi Ajayi · Added optional fieldFormat.; Added optional fieldQuantity.; FieldStartPricetype changed: float → Optional[float] (breaking).; FieldStartPricebecame optional. (1ac720aac)v1.0.0· 2025-03-20 · Cian (shared account) · Initial version. (89d748025)
ShippingOption — v3.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
Type | int | ✅ | — | — |
Method | str | ❌ | — | — |
Price | float | ❌ | — | — |
Change history
v3.0.0· 2025-05-17 · Cian (shared account) · FieldPricetype changed: Optional[Decimal] → Optional[float] (breaking). (8cff53025)v2.0.0· 2025-03-23 · Cian (shared account) · FieldMethodtype changed: str → Optional[str] (breaking).; FieldMethodbecame optional. (c4c7868f1)v1.1.0· 2025-03-20 · Cian (shared account) · Added required fieldMethod.; Added optional fieldPrice. (89d748025)v1.0.0· 2025-03-16 · Cian (shared account) · Initial version. (feca668a3)
APIs / Triggers
| Trigger | Endpoint / Source | Detail | Handler |
|---|---|---|---|
| API | POST /newtradeMe/ | — | src/trade_me_post.py |
Change history
v2.0.0 · 2025-03-20 · Cian (shared account) · 89d748025
post
- Field
trade_me_objecttype changed: TradeMeObject → TradeMeObjectPost (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.