SR-004 — Product Catalog: Admin to Mobile System Requirements
By Lead Systems Architect•September 25, 2026•7 min read
| Metadata | Details |
|---|---|
| System Name | Product Catalog — Admin Creation to Mobile Presentation |
| Document ID | SR-2026-CAT-004 |
| Author | Lead Systems Architect |
| Status | Draft |
1. Functional Requirements (FR)
Admin Creation Workflow
- FR-01 (Guided Wizard):
ui-admin-application’s product-add wizard MUST present exactly nine ordered steps — Product Info, Images, Specifications, Variant Builder, Stock & Threshold, Volumetric Specs, Compliance & Pricing, Package Map, Review & Publish — and MUST NOT allow the operator to jump ahead of the highest step already completed. - FR-02 (Draft Persistence):
product-catalogMUST persist a product’s core information, category, and image references as a draft as each step is saved, independent of whether the product has been published. - FR-03 (Variant Definition):
inventory-serviceMUST let the operator define one or more buyable SKUs per product (e.g. by size/color), each independently toggleable active/inactive, via its Variant Builder endpoint (PUT /inventory/admin/api/v1/variant-builder). - FR-04 (Stock Threshold Entry):
inventory-serviceMUST let the operator record, per SKU and per warehouse, a safety-stock and maximum-capacity threshold via its Opening Entry endpoint (PUT /inventory/admin/api/v1/sku-opening-entry), and MUST reject a submission where safety stock exceeds maximum capacity for any SKU × warehouse cell. - FR-05 (Volumetric Specification):
inventory-serviceMUST let the operator record each SKU’s physical dimensions and weight via its SKU Dimensions endpoint (PUT /inventory/admin/api/v1/sku-dimensions). - FR-06 (Compliance & Pricing):
inventory-serviceMUST let the operator record each SKU’s price, applicable tax, a bounded discount percentage, and returns policy via its Compliance & Pricing endpoint (PUT /inventory/admin/api/v1/sku-compliance-pricing), and MUST NOT allow a product to be published without this data present for every active SKU. (Scope boundary — validation here is flat field-level checks only (price/tax non-negative, discount within 0–100%), enforced identically inui-admin-application’s wizard step and re-checked authoritatively ininventory-service’s own domain validation; no promotional/campaign/bundle/dynamic pricing logic exists. See BRD-004’s Out-of-Scope for the deferred scope.) - FR-07 (Shipping Package Mapping):
inventory-serviceMUST let the operator map each SKU to a valid shipping package before the product can be published. - FR-08 (Publish Readiness Check):
product-catalog’sProductCrudService.PublishMUST verify, at publish time, that every required cross-service sync marker on the product (variant, dimensions, compliance/pricing, package map, opening entry) is in a completed state, and MUST reject the publish request otherwise. (Gap — this check is local toproduct-catalog’s own previously-received sync markers; it does not make a synchronous call toinventory-serviceto re-verify current state at the moment of publish, so a marker can be stale if a laterinventory-serviceedit failed to deliver its event. Tracked as technical debt, see Technical Debt — Product Catalog Admin-to-Mobile Gaps, TD-02.) - FR-09 (Duplicate & Archive):
product-catalogMUST support duplicating an existing product as the starting point for a new draft, and MUST support archiving a published product or deleting an unpublished draft.
Cross-Service Synchronization
- FR-10 (Event-Driven Completion Signals):
inventory-serviceMUST publish one Pub/Sub event per completed step (variant-builder-upserted,sku-dimension-upserted,sku-compliance-pricing-upserted,sku-box-mapping-upserted,opening-entry-upserted), each independently best-effort, andproduct-catalogMUST subscribe to all five and update the corresponding sync marker on its own product document on receipt. - FR-11 (No Synchronous Cross-Service Call at Publish): Publishing MUST NOT depend on a synchronous request/response call between
product-catalogandinventory-service— readiness is determined entirely from previously-received asynchronous sync markers, per FR-08.
Mobile Presentation
- FR-12 (Product Detail View):
ui-applicationMUST present a product detail screen sourced fromshop-service/product-catalog, showing current price, current stock availability, images, and specifications. See SR-005 — Mobile App Storefront Configuration and SR-006 — Scalable Search Product for the storefront-section-assembly and search mechanisms this view is reached through, and Flutter UI Walkthrough — Product Detail for the screen-level detail. - FR-13 (General Catalog Browse): (Gap —
ui-applicationhas no general “browse all products” screen today; a shopper reaches a product only via a curated storefront section or search. Tracked as technical debt, see Technical Debt — Product Catalog Admin-to-Mobile Gaps, TD-01.)
2. Non-Functional Requirements (NFR)
Consistency & Latency
- NFR-01 (Eventual Consistency Window): The system MUST tolerate a bounded but non-zero delay between an
inventory-servicestep being saved andproduct-catalog’s corresponding sync marker being updated, since propagation is asynchronous (FR-10). (No measured P95/P99 delivery-latency figure exists in the codebase today — treat as an SLO to establish, not a validated guarantee.)
Multi-Tenancy & Observability
- NFR-02 (Tenant Scoping): Every admin wizard request, every Pub/Sub sync event, and every mobile storefront/detail request MUST carry
tenant_id, and no service in this flow MUST resolve or default a missingtenant_id. - NFR-03 (Trace Propagation):
traceparentandcorrelation_idMUST propagate unbroken across the admin wizard’s REST calls and the fiveinventory-service→product-catalogPub/Sub events, per the platform’s observability & tracing standards.
Related Documents
- BRD-004 — Product Catalog: Admin Creation to Mobile Presentation
- ADR-00005 — Event-Driven Catalog Synchronization
- ADR-00008 — Polyglot Persistence: MongoDB for Product-Catalog, PostgreSQL for Inventory-Service
- ADR-00009 — gRPC for Synchronous Inter-Service Calls
- Architecture: Product Catalog — Admin to Mobile Flow
- Technical Debt — Product Catalog Admin-to-Mobile Gaps
- SR-005 — Mobile App Storefront Configuration System Requirements
- SR-006 — Scalable Search Product System Requirements