Search the docs

Pages and API endpoints

Developer dashboard
Docs/Products

Products & Inventory

Manage products, track inventory levels, and sync stock across channels. Products appear in invoices, POS, and sales orders.

List Products

GET/api/v1/products
ParameterTypeDescription
searchstringSearch by name or SKU
typestringFilter: product, service, bundle
statusstringFilter: active, inactive
lowStockbooleanIf true, returns only items at or below reorder level
categoryIdstringFilter by category
Response
{
  "data": [
    {
      "_id": "65f1a2b3c4d5e6f7a8b9c0d1",
      "name": "Wireless Mouse",
      "sku": "WM-001",
      "type": "product",
      "sellingPrice": 85.00,
      "costPrice": 45.00,
      "currentStock": 23,
      "reorderLevel": 10,
      "trackInventory": true,
      "status": "active"
    }
  ],
  "total": 89
}

Create Product

POST/api/v1/products
ParameterTypeDescription
namerequiredstringProduct name
skurequiredstringUnique SKU (auto-uppercased)
typestringproduct (default), service, or bundle
sellingPricerequirednumberSelling price
costPricenumberCost price (for COGS calculation)
currentStocknumberInitial stock level
reorderLevelnumberLow stock alert threshold
trackInventorybooleanEnable stock tracking (default: true)
categoryIdstringProduct category ID
taxRatenumberDefault tax rate % for this product
unitstringUnit of measure (pcs, kg, hrs, etc.)

Get, Update and Delete

GET/api/v1/products/:id
PUT/api/v1/products/:id
DELETE/api/v1/products/:id

Each product carries its stock level (currentStock) and reorderLevel. Stock moves with the documents that move it (bills, invoices, sales receipts); stock counts and adjustments are made in SyncBooks.