This commit is contained in:
mats committed 2026-08-23 13:43:40 +02:00
1 parent 5807132ac6
commit ccb43808fa
4 files changed
+177 -8

No files matched your search

+12
View File
@@ -18,6 +18,9 @@
// tax_class ← source[TaxClassField] (string identifier)
// inventory_tracked ← bool coercion of source[InventoryTrackedField]
// drop_ship ← bool coercion of source[DropShipField]
// seller_id ← uint32 coercion of source[SellerIdField] (0 = unset)
// seller_name ← source[SellerNameField] (omitempty)
// lead_time_days ← int coercion of source[LeadTimeField] (0 = unset)
// category ← source[CategoryField] (omitempty)
// category2 ← source[Category2Field] (omitempty)
// category3 ← source[Category3Field] (omitempty)
@@ -103,6 +106,15 @@ type Projection struct {
TaxClass string `json:"tax_class"`
InventoryTracked bool `json:"inventory_tracked"`
DropShip bool `json:"drop_ship"`
// Drop-ship routing carriers (Phase 1 of docs/plan-dropship.md).
// SellerID mirrors AddItem.ItemId coercion rules: 0 = "producer didn't
// publish" and downstream keeps whatever the HTTP fallback fetched.
// SellerName is what checkout writes into order-line
// Properties["supplier"] (the dropship-fulfill flow groups on it).
// LeadTimeDays is supplier lead time in days, 0 = unset.
SellerID uint32 `json:"seller_id,omitempty"`
SellerName string `json:"seller_name,omitempty"`
LeadTimeDays int `json:"lead_time_days,omitempty"`
Category string `json:"category,omitempty"`
Category2 string `json:"category2,omitempty"`
Category3 string `json:"category3,omitempty"`