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-catalog MUST 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-service MUST 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-service MUST 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-service MUST 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-service MUST 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 in ui-admin-application’s wizard step and re-checked authoritatively in inventory-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-service MUST let the operator map each SKU to a valid shipping package before the product can be published.
  • FR-08 (Publish Readiness Check): product-catalog’s ProductCrudService.Publish MUST 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 to product-catalog’s own previously-received sync markers; it does not make a synchronous call to inventory-service to re-verify current state at the moment of publish, so a marker can be stale if a later inventory-service edit 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-catalog MUST 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-service MUST 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, and product-catalog MUST 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-catalog and inventory-service — readiness is determined entirely from previously-received asynchronous sync markers, per FR-08.

Mobile Presentation


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-service step being saved and product-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 missing tenant_id.
  • NFR-03 (Trace Propagation): traceparent and correlation_id MUST propagate unbroken across the admin wizard’s REST calls and the five inventory-service → product-catalog Pub/Sub events, per the platform’s observability & tracing standards.