POST /api/erp-customers — Returns customers created after a timestamp. Useful for syncing your CRM or accounting system.

API
POST/api/erp-customers

Clientes modificados

Requiere token Bearer

Devuelve los clientes creados desde una marca de tiempo. Útil para sincronizar tu CRM o contabilidad.

Solicitud

json
{
  "since": 1735689600000
}

Respuesta

json
[ { "id": 8801, "name": "Ana Pérez", "email": "...", "tax-id": "..." } ]

Código

bash
curl -X POST 'https://tu-tienda.com/api/erp-customers' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{ "since": 1735689600000 }'

Probá el endpoint

https://tu-tienda.com/api/erp-customers
Necesitás un token para probar los endpoints. Generalo desde Configuración → ERP → API Token.