feat(POS-005): completed feature
This commit is contained in:
12
work/artifacts/POS-005/architect.md
Normal file
12
work/artifacts/POS-005/architect.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# POS-005 — Architect
|
||||
|
||||
## Feature
|
||||
POS API Phase 1: product search + payment methods.
|
||||
|
||||
## Objetivo
|
||||
Endpoints: GET /pos/products/search, /pos/products/by-ean/:ean, /pos/products/by-sku/:sku. Admin: GET/POST/PATCH /pos/admin/payment-methods.
|
||||
|
||||
## Diseño
|
||||
- Product search: JOIN catalog_product_variants + catalog_products + inventory_stock + pricing_variant_prices + categories + brands
|
||||
- Payment methods: direct CRUD on pos_payment_methods table
|
||||
- Auth: requireAnyRole for product routes; requireRole admin for payment method admin
|
||||
Reference in New Issue
Block a user