Exportación de clientes
Changed onObtiene una página de clientes optimizada para exportaciones masivas (BI). Usa keyset pagination por _id en lugar de skip/limit, lo que lo hace eficiente incluso con millones de registros. Pasar el nextLastSeenId de la respuesta anterior para obtener la siguiente página. nextLastSeenId null indica que no hay más páginas.
get/royalty/clients-export
Request
- Base URLhttps://api.service.getjusto.com/v3
- AuthHTTP bearer
Query parameters
pageSizeinteger
Cantidad de clientes a retornar por página
lastSeenIdstring
ID del último cliente recibido (cursor). Omitir en la primera llamada.
Response
Página de clientes para exportación
Example response
{
"success": true,
"data": {
"items": [
{
"_id": "cli_abc123",
"createdAt": "2026-08-06T10:20:00Z",
"name": "Juan Pérez",
"email": "juan@example.com",
"phone": "+56912345678",
"firstLogin": "2023-11-07T05:31:56Z",
"lastLogin": "2024-03-15T10:20:00Z",
"ordersCount": 5,
"firstOrder": "2023-11-07T05:31:56Z",
"lastOrder": "2024-03-15T10:20:00Z",
"pointsBalance": 100,
"marketingEmailEnabled": true
}
],
"nextLastSeenId": "cli_abc123",
"pageSize": 500
}
}Changes
- info
added the required property
///to the response with the status
- info
- info
endpoint added
- info