Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page6 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
POST/api/inventory/get-inventory-listInventoryPermission: inventory.view

Get Inventory List

Retrieves tracked stock levels isolated per `(tenantId, outletId, productId)`. Filters results to outlets accessible by the actor when outlet scoping is enabled.

Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).

Outlet Scope Enforcement: Results and mutations are automatically scoped to the actor's accessible outlets when the inventory module restriction applies.

Request

Provide the following fields in the request payload.

Body application/json
outletIdstring (uuid)optional

outlet Id parameter.

categorystringoptional

category parameter.

querystringoptional

query parameter.

pageintegeroptionaldefault: 1

page parameter.

limitintegeroptionaldefault: 20

limit parameter.

Responses

Select a status code to inspect schema.

OK — Inventory items retrieved successfully.application/json
successenum('true')

Success (true).

messagestring

Message.

dataobject | null

Response payload or null.

POST/api/inventory/get-inventory-list
curl -X POST "https://api.invoger.com/api/inventory/get-inventory-list" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{ "outletId": "o1a2b3c4-d5e6-7f8a-9b0c-1d2e3f4a5b6c", "query": "Coffee", "page": 1, "limit": 20 }'
Interactive playground

Response

application/json
{
  "success": true,
  "message": "Success",
  "data": {
    "items": [
      {
        "outletId": "o1a2b3c4-d5e6-7f8a-9b0c-1d2e3f4a5b6c",
        "productId": "prd_1",
        "variantId": "var_1",
        "quantity": 45,
        "minimumStock": 5
      }
    ],
    "total": 1,
    "page": 1,
    "limit": 20
  }
}