API de Clientes POS
Los clientes se identifican por customer_identification; si ya existe, no se vuelve a crear.
Enviar clientes (uno o lista)
POST /api/public/customers
x-api-key: <POS_API_KEY>
Content-Type: application/json
[
{
"customer_identification": "16970228",
"customer_full_identification": "V - 16970228",
"customer_name": "Juan Pérez",
"customer_address": "Caracas",
"customer_phone": "04141234567",
"customer_email": "juan@mail.com",
"created_at": "2026-11-05T12:00:00Z"
}
]
→ { "received": 1, "inserted": 1, "skipped_existing": 0 }Leer clientes
GET /api/public/customers?page=1&page_size=500
GET /api/public/customers?identification=16970228
x-api-key: <POS_API_KEY>
→ { "page": 1, "page_size": 500, "total": 1, "data": [ ... ] }