TradeMePut
Version: v1.1.0
Supporting model
A request/response or nested model — not a stored DynamoDB entity.
Overview
TradeMePut model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
item_id | str | ✅ | — | — |
auto_relist | bool | ✅ | — | — |
images | List[dict] | ❌ | — | — |
trade_me_object | TradeMeObject | ✅ | — | TradeMe Object Model |
Embedded models
Models embedded in the fields above — shown inline; they have no separate page.
TradeMeObject — v6.0.1
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
ListingId | int | ❌ | — | — |
AuthenticatedMembersOnly | bool | ❌ | False | — |
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
v6.0.1· 2026-03-16 · Cian (shared account) · FieldPhotoIdsdefault changed: [] → None. (99d7ef9d3)v6.0.0· 2025-09-25 · Olaniyi Ajayi · FieldFormatbecame required (breaking).; FieldFormatdefault changed: Format.AUCTION → None. (ab4817724)v5.0.0· 2025-09-24 · Olaniyi Ajayi · Added optional fieldFormat.; Added optional fieldQuantity.; FieldAuthenticatedMembersOnlybecame optional.; FieldAuthenticatedMembersOnlydefault changed: None → False.; FieldStartPricetype changed: float → Optional[float] (breaking).; FieldStartPricebecame optional. (1ac720aac)v4.0.0· 2025-03-23 · Cian (shared account) · FieldListingIdtype changed: int → Optional[int] (breaking).; FieldListingIdbecame optional. (c4c7868f1)v3.0.0· 2025-03-20 · Cian (shared account) · FieldListingIdtype changed: Optional[int] → int (breaking).; FieldListingIdbecame required (breaking). (89d748025)v2.0.0· 2025-03-20 · Olaniyi Ajayi · FieldListingIdtype changed: int → Optional[int] (breaking).; FieldListingIdbecame optional. (6a76b1492)v1.0.0· 2025-03-16 · Cian (shared account) · Initial version. (feca668a3)
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 | PUT /newtradeMe/ | — | src/trade_me_put.py |
Change history
v1.1.0 · 2026-03-16 · Cian (shared account) · 99d7ef9d3
Update TradeMe models to use None for PhotoIds, enhance image upload functionality with require_all_images_if_present flag, and refactor image handling in update and post processes for improved error handling and clarity.
- Added optional field
images.
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.