Use Case : UC6 - Add Product to Store
- Author: Tugba Ilhan
- Date / Version: 09/06/2025 - v0.1
User roles
Role | Description |
---|---|
Business Owner | A merchant who wants to add new products to their store |
Platform System | Handles product validation, storage, and indexing in the catalog |
Admin (optional) | Can review or moderate listings depending on configuration |
Prerequisites / Conditions
-
Business Owner must be registered and logged in.
-
Storefront setup must be complete.
-
Required product details (name, price, category, etc.) must be available.
Use Case Diagram
Description of use case -Add Product to Store
-
Business Owner logs into the ECSP1 platform.
-
Navigates to the Product Management dashboard.
-
Selects “Add New Product” option.
-
Enters product information (name, SKU, price, stock, description, category, tags, etc.).
-
Uploads one or more product images.
-
Submits the product for publishing.
-
Platform validates inputs and stores product data in database.
-
Product becomes visible in the storefront if validation passes.
Exceptions
ID | Description |
---|---|
E1 | Missing mandatory fields → Show error message indicating required fields |
E2 | Invalid image format or size → Show upload error |
E3 | Server/database error → Display retry message |
E4 | Store is not active → Prevent product publishing |
Result
Product is successfully added to the business owner's storefront and visible to customers.
Use frequency
High for active sellers; used frequently when launching new products or updating catalog.
Additional information
-
Products can be edited or removed later via the dashboard.
-
Optional features: bulk product upload via CSV/XML, AI-based image quality check.
-
Product SEO tags can be automatically generated or manually added.
-
Relevant API endpoint: POST /api/products.
Sources
This user story follows public administration specification documentation format. Based on digital commerce documentation best practices (JHS & ISO 25010).