On this page3 sections
Pagination & Filtering
Pagination conventions, search queries, outlet scoping, and realtime report filtering.
InvogerPOS list endpoints accept JSON payloads over POST so complex filter criteria, outlet scopes, and pagination stay consistent across menus.
Standard Pagination Fields
Most list schemas (UserQuerySchema, ProductQuerySchema, OutletQuerySchema, InventoryQuerySchema) accept:
| Parameter | Type | Default | Description |
|---|---|---|---|
query | string | — | Case-insensitive keyword search |
page | integer | 1 | 1-based page number (pageIndex starting at 0 on report endpoints) |
limit | integer | 20 or 50 | Page size capped cleanly on the server (typically max 100) |
Outlet Scope Filtering
For modules marked as outlet-restricted on the actor's User Group (such as invoice, inventory, product, outlet, reports), the backend automatically restricts query results and option lists to request.user.accessibleOutlets. Passing an unauthorized outletId explicitly returns 403 Forbidden.
Realtime Report Timelines
Dashboard and Report endpoints (/api/dashboard/sales-performance, /api/reports/sales-summary, /api/reports/product-sales) filter strictly by server persistence timestamp (Invoice.createdAt) rather than printed receipt dates.
curl -X POST "https://api.invoger.com/api/products/get-product-list" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{ "query": "Coffee", "page": 1, "limit": 20 }'Response
{
"success": true,
"message": "Success",
"data": {
"products": [],
"total": 0,
"page": 1,
"limit": 20
}
}