Movimientos de puntos de lealtad
Changed onObtiene una lista paginada de los movimientos de puntos de lealtad. Permite filtrar por justoUserId, rango de fechas y tipo de transacción.
Request
- Base URLhttps://api.service.getjusto.com/v3
- AuthHTTP bearer
Query parameters
ID del usuario de Justo
Fecha de inicio del rango (formato YYYY-MM-DD o ISO 8601, ej: 2026-01-19 o 2026-01-19T00:00:00Z)
Fecha de fin del rango (formato YYYY-MM-DD o ISO 8601, ej: 2026-01-19 o 2026-01-19T23:59:59Z)
Tipo de movimiento a filtrar
Número de página a obtener
Cantidad de elementos por página
Response
Lista paginada de movimientos de puntos de lealtad
Example response
{
"success": true,
"data": {
"movements": [
{
"amount": 50,
"userId": "u-001",
"createdAt": "2025-01-20T14:30:00.000Z",
"balance": 150,
"direction": "in",
"originReference": {
"type": "accumulation",
"expiresAt": "2026-01-20T14:30:00.000Z",
"orderId": "ord-001",
"orderCode": "ORD-12345",
"tabId": "tab-001",
"description": "Orden Online"
}
}
],
"pagination": {
"totalCount": 150,
"page": 1,
"pageSize": 100,
"totalPages": 2,
"hasNextPage": true
}
}
}Changes
- info
the
queryrequest parameterjustoUserIdbecame optional
- info
- breaking
the
queryrequest parametertypewas restricted to a list of enum values - breaking
the
queryrequest parameterjustoUserIdbecame required - warning
deleted the
queryrequest parameterclientId - warning
deleted the
queryrequest parameteremail - warning
added the new
accumulationenum value to the////response property for the response status - warning
added the new
manualenum value to the////response property for the response status - warning
added the new
redemptionenum value to the////response property for the response status - warning
added the new
referralenum value to the////response property for the response status - info
added the new enum value
accumulationto thequeryrequest parametertype - info
added the new enum value
expirationto thequeryrequest parametertype - info
added the new enum value
manualto thequeryrequest parametertype - info
added the new enum value
redemptionto thequeryrequest parametertype - info
added the new enum value
referralto thequeryrequest parametertype - info
added the new enum value
refundto thequeryrequest parametertype - info
removed the
adjustmentenum value from the////response property for the response status - info
removed the
orderenum value from the////response property for the response status - info
removed the
otherenum value from the////response property for the response status
- breaking