Files
mercadodevida/work/artifacts/POS-009/architect.md
2026-08-22 13:43:04 +02:00

13 lines
462 B
Markdown

# 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