Overview
The KAIU Admin Portal is your central hub for managing orders, tracking shipments, and monitoring business performance. Access the portal at/admin/login with your admin credentials.
The dashboard automatically refreshes data and uses real-time synchronization with your shipping providers.
Accessing the Portal
Navigate to Login
Go to
/admin/login in your browser. The system uses JWT token authentication stored in session storage.Enter Credentials
Enter your admin username and password. The system will verify against the backend
/api/admin/login endpoint.Dashboard Overview
The admin dashboard has three main tabs:1. Executive Summary (Resumen Ejecutivo)
View key performance indicators and charts:- Total Sales (Month): Sum of all approved orders in the current month
- Average Ticket: Mean order value across all transactions
- Active Orders: Count of orders pending shipment/delivery
- Total Orders: All orders in the system
Financial data is only visible to users with the username
kaiu. Other admin users see limited metrics.- Sales Behavior: 30-day bar chart showing daily revenue trends
- Order Status Distribution: Pie chart breaking down orders by status (Pending, Confirmed, Shipped, Delivered, Cancelled)
/api/admin/dashboard-stats endpoint.
2. Inventory Management
Manage your product catalog directly from the dashboard. See the Inventory Management feature for detailed instructions. Quick Actions:- Add new products or variants
- Update pricing and stock levels
- Toggle product visibility (active/inactive)
- Upload product images
- Manage dimensions for shipping calculations
3. Shipment Management (Gestión de Envíos)
This is your primary workspace for order fulfillment.Order Lifecycle States
Orders move through different status filters on the left sidebar:Status Definitions
| Status | Description | Actions Available |
|---|---|---|
| PENDING | New order, payment pending | Generate Label |
| CONFIRMED | Payment approved | Generate Label |
| READY_TO_SHIP | Label created, ready for pickup | Request Pickup, Reprint Label |
| PICKUP_REQUESTED | Carrier notified, awaiting collection | Reprint Label |
| SHIPPED | In transit with carrier | Track shipment |
| DELIVERED | Successfully delivered | View tracking |
| CANCELLED | Order cancelled/rejected | - |
Payment Filters
Filter orders by payment method:- Todos: Show all orders
- Contra Entrega (COD): Cash on delivery orders
- Pagado (Online): Pre-paid orders via Wompi
Order Table Features
Sortable Columns
Click any column header to sort:- PIN: Order ID number
- Fecha: Creation date
- Cliente: Customer name (from shipping info)
- Productos: Product count
- Total: Order value (only visible to
kaiuuser)
Order Information Display
Each row shows:Order Structure
Tracking Number Links
Click any tracking number to openhttps://kaiu.com.co/rastreo?guide={tracking_number} in a new tab for real-time status updates.
Refreshing Data
Use the Actualizar (Refresh) button in the top right to reload:- All order data from
/api/admin/orders - Dashboard statistics from
/api/admin/dashboard-stats
Sync Shipments Feature
The Sincronizar button queries Venndelo for shipment status updates:User Permissions
The system recognizes user roles based on thekaiu_admin_user session storage value:
- kaiu: Full access including financial data
- Other users: Limited access, no revenue/pricing visibility
Logout
Click the Salir button in the header to:- Remove
kaiu_admin_tokenfrom session storage - Redirect to
/admin/login
Logging out does not invalidate the JWT token server-side. Tokens expire based on the configured TTL.
Best Practices
Regular Sync
Sync shipments at least twice daily to keep tracking data current
Monitor Low Stock
Check inventory tab for products with stock < 5 (highlighted in red)
Quick Filters
Use status sidebar + payment filters together to segment order queues
Batch Actions
Process all “Por Procesar” orders first thing each morning
Troubleshooting
Dashboard Not Loading
- Check console for 401 errors (token expired)
- Verify
/api/admin/dashboard-statsis responding - Clear session storage and re-login
Orders Missing
- Ensure orders exist in the database (check
/api/admin/ordersresponse) - Verify filter selections aren’t hiding orders
- Check if search term is active
Sync Failing
- Verify
VENNDELO_API_KEYenvironment variable is set - Check network tab for API response errors
- Ensure external order IDs are properly linked
Next Steps
Order Fulfillment
Learn how to generate labels and request pickups
Inventory Management
Manage products, stock levels, and pricing