Consultar serie (garantía)
Historial de una serie: compra, venta (cliente y comprobante), devoluciones, transferencias y garantía.
GEThttps://api.facturalo.pe/api/v3/inventario/series/{serie}
Language
Credentials
Header
Authorization
Token de la empresa · HTTP directo
Fetch Request
$ # Node 18+ fetch
const response = await fetch("https://api.facturalo.pe/api/v3/inventario/series/mer_01J8Z3K4M5N6P7Q8R9S0T1U2V3", {
method: "GET",
headers: {
"Authorization": "sk_test_…"
}
});
const data = await response.json();
console.log(data);HTTP directo · funciona con cualquier cliente HTTP
Response
Elige un ejemplo de respuesta:
application/json
200OK
{
"success": true,
"data": {
"serie": "5CD1234ABD",
"estado": "vendida",
"varianteId": "a32f4541-75eb-4b59-ad28-3c571652fe39",
"productoId": "a32f4541-75e1-4f0c-9d0a-6a2b7c1e9f10",
"descripcion": "LAPTOP HP INTEL I20",
"garantia": {
"meses": 12,
"hasta": "2027-11-09",
"vigente": true
},
"historial": [
{
"fecha": "2026-11-03",
"direccion": "entrada",
"tipoOperacion": "02",
"operacion": "Compra",
"documento": {
"tipo": "01",
"serie": "F005",
"numero": "887"
},
"comprobanteId": null,
"cliente": null,
"costoUnitario": 2966.1,
"establecimiento": {
"id": "11111111-2222-3333-4444-555555555555",
"nombre": "Principal"
},
"nota": null
},
{
"fecha": "2026-11-09",
"direccion": "salida",
"tipoOperacion": "01",
"operacion": "Venta",
"documento": {
"tipo": "01",
"serie": "F001",
"numero": "1"
},
"comprobanteId": "36ae5150-dc49-11f1-9045-2fa1465122df",
"cliente": {
"nombre": "CLIENTE DEMO S.A.C.",
"documento": "20601476551"
},
"costoUnitario": 2966.1,
"establecimiento": {
"id": "11111111-2222-3333-4444-555555555555",
"nombre": "Principal"
},
"nota": null
}
]
}
}