WebShopPostModel
Version: v3.1.0
Stored entity
Partition key pk, sort key sk
Overview
Web shop post model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
pk | str | ✅ | — | — |
sk | str | ✅ | — | — |
type | str | ✅ | — | — |
web_shop_id | str | ✅ | — | — |
product_type | str | ✅ | — | — |
product_id | str | ✅ | — | — |
title | str | ✅ | — | — |
item_display_id | str | ✅ | — | — |
item_id | str | ✅ | — | — |
price | float | ❌ | — | — |
url | str | ✅ | — | — |
description | str | ❌ | — | — |
images | List[Image] | ❌ | — | — |
shipping_name | str | ❌ | — | — |
shipping_id | str | ❌ | — | — |
created_at | str | ✅ | — | — |
updated_at | str | ✅ | — | — |
tenant_id | str | ✅ | — | — |
Embedded models
Models embedded in the fields above — shown inline; they have no separate page.
Image — v1.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
src | str | ✅ | — | — |
id | str | ✅ | — | — |
Change history
v1.0.0· 2025-03-23 · Cian (shared account) · Initial version. (15123f8f7)
APIs / Triggers
| Trigger | Endpoint / Source | Detail | Handler |
|---|---|---|---|
| API | POST /newwebShop/ | — | src/shopify/web_shop_post.py |
| Stream | DynamoDB stream | table items where type = WEB_SHOP | src/web_shop_opensearch_sync.py |
| Event | EventBridge | PartImagesProcessed, VehicleImagesProcessed | src/shopify/web_shop_upload_enqueue.py |
| Event | EventBridge | VehicleImagesProcessed, PartImagesProcessed | src/shopify/web_shop_update_enqueue.py |
| API | POST /newwebShop/wooCommerce | — | src/woocommerce/woo_post.py |
| API | PUT /newwebShop/wooCommerce | — | src/woocommerce/woo_put.py |
| API | DELETE /newwebShop/wooCommerce | — | src/woocommerce/woo_delete.py |
| API | GET /newwebShop/ | — | src/web_shop_get.py |
| API | GET /newwebShop/shipping | — | src/web_shop_get_shipping.py |
| API | DELETE /newwebShop/ | — | src/shopify/web_shop_delete.py |
| Event | EventBridge | PartSoldFromInvoice, PartSoldFromWorkOrder, PartStockAdjusted, PartDeleted, PartMarkedAsMissing, VehicleCrushed, VehicleDeleted | src/shopify/web_shop_handle_remove.py |
| Event | EventBridge | WebShopSelfHealRequested | src/web_shop_self_heal.py |
| Event | EventBridge | PartSoldFromInvoice, PartSoldFromWorkOrder, PartStockAdjusted, PartDeleted, PartMarkedAsMissing, VehicleCrushed, VehicleDeleted | src/woocommerce/web_shop_handle_remove.py |
| API | GET /newwebShop/auth | — | src/shopify/web_shop_auth_start.py |
| API | GET /newwebShop/auth/callback | — | src/shopify/web_shop_auth_callback.py |
| API | DELETE /newwebShop/auth | — | src/shopify/web_shop_auth_disconnect.py |
| API | GET /newwebShop/webhook/credentials | — | src/shopify/web_shop_check_webhook_key.py |
Change history
v3.1.0 · 2025-05-25 · Cian (shared account) · 00df8fd7d
fx
- Added required field
tenant_id.
v3.0.0 · 2025-05-17 · Cian (shared account) · 8cff53025
fx
- Field
pricetype changed: Optional[Decimal] → Optional[float] (breaking).
v2.0.0 · 2025-03-23 · Cian (shared account) · 15123f8f7
fixes
- Field
imagestype changed: Optional[List[str]] → Optional[List[Image]] (breaking).
v1.0.0 · 2025-03-15 · Olaniyi Ajayi · 338416124
fx
- Initial version.
Generated from
dismantly-backend/Microservices/WebShop/dependencies/models.py. Do not edit by hand.