WorkOrderHandleSalesChannel
Version: v3.1.0
Supporting model
A request/response or nested model — not a stored DynamoDB entity.
Overview
WorkOrderHandleSalesChannel Model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
line_items | List[SalesChannelLineItem] | ✅ | — | — |
contact_name | str | ✅ | — | — |
contact_id | str | ✅ | — | — |
sales_channel | str | ✅ | — | — |
reference | str | ❌ | — | — |
total | float | ✅ | — | — |
issue_date | str | ❌ | — | — |
due_date | str | ❌ | — | — |
created_at | str | ❌ | — | — |
updated_at | str | ❌ | — | — |
type | str | ❌ | WORK_ORDER | — |
status | str | ❌ | DRAFT | — |
work_order_id | str | ❌ | — | — |
APIs / Triggers
| Trigger | Endpoint / Source | Detail | Handler |
|---|---|---|---|
| Event | EventBridge | ContactCreatedFromWebShop, ContactCreatedFromTradeMe, ContactCreatedFromEbay, ContactCreatedFromTuiPart, ContactCreatedFromWallabyPart | src/handle/work_order_handle_sales_channel_webhook.py |
Change history
v3.1.0 · 2026-04-07 · Cian (shared account) · eb5562e32
Refactor eBay order handling functions and add due_date to WorkOrderHandleSalesChannel model
- Added optional field
due_date.
v3.0.0 · 2026-02-12 · Cian (shared account) · b3c0ad02b
Refactor eBay and WorkOrder models for improved structure and clarity
- Removed field
contact_address(breaking). - Removed field
contact_email(breaking). - Removed field
contact_phone(breaking). - Added required field
contact_id.
v2.0.0 · 2026-02-12 · Cian (shared account) · b2cf91eff
Refactor eBay and WorkOrder models and webhook handling
- Removed field
contact_id(breaking). - Removed field
part_id(breaking). - Removed field
quantity_sold(breaking). - Removed field
sold_price(breaking). - Removed field
title(breaking). - Added required field
line_items. - Field
contact_addresstype changed: dict → Address (breaking). - Field
totaltype changed: Optional[float] → float (breaking). - Field
totalbecame required (breaking).
v1.3.0 · 2025-12-13 · Cian (shared account) · 90044de69
fx
- Added optional field
total.
v1.2.0 · 2025-08-05 · Cian (shared account) · fb58eef03
fx
- Added optional field
reference.
v1.1.0 · 2025-05-27 · Cian (shared account) · 57314981b
fx
- Added required field
quantity_sold.
v1.0.0 · 2025-03-24 · Cian (shared account) · b74b9e3d2
sales channels
- Initial version.
Generated from
dismantly-backend/Microservices/WorkOrder/dependencies/models.py. Do not edit by hand.