Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page3 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
Guides

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:

ParameterTypeDefaultDescription
querystring—Case-insensitive keyword search
pageinteger11-based page number (pageIndex starting at 0 on report endpoints)
limitinteger20 or 50Page 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.

POST/api
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 }'
Interactive playground

Response

application/json
{
  "success": true,
  "message": "Success",
  "data": {
    "products": [],
    "total": 0,
    "page": 1,
    "limit": 20
  }
}