feat(POS-009): completed feature
This commit is contained in:
12
work/artifacts/POS-009/architect.md
Normal file
12
work/artifacts/POS-009/architect.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# POS-009 — Architect
|
||||
|
||||
## Feature
|
||||
POS Phase 1 ticket 009: Customer search + association.
|
||||
|
||||
## Objetivo
|
||||
Allow POS terminal operators to search and associate a customer with a sale (for loyalty/address). Endpoints: GET /pos/customers/search and GET /pos/customers/:id.
|
||||
|
||||
## Diseño
|
||||
- Search: ILIKE on email, first_name, last_name, phone from identity_users + users_profiles JOIN
|
||||
- Limit 20 results, min 2-char query
|
||||
- Returns id, email, firstName, lastName, phone
|
||||
Reference in New Issue
Block a user