Search Documentation

Search API endpoints, webhooks, tools, and guides

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

Get Product List

Retrieves paginated non-archived catalog products within the active tenant, supporting search, category, and outlet stock filtering.

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 product module restriction applies.

Request

Provide the following fields in the request payload.

Body application/json
idstringoptional

id parameter.

querystringoptional

query parameter.

outletstring | nulloptional

outlet parameter.

categorystring | nulloptional

category parameter.

limitnumberoptionaldefault: 20

limit parameter.

pagenumberoptionaldefault: 1

page parameter.

idsarray<string>optional

ids parameter.

Responses

Select a status code to inspect schema.

OK — Product list retrieved successfully.application/json
successenum('true')

Success (true).

messagestring

Message.

dataobject | null

Response payload or null.

POST/api/products/get-product-list
curl -X POST "https://api.invoger.com/api/products/get-product-list" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{ "query": "", "limit": 20, "page": 1 }'
Interactive playground

Response

application/json
{
  "success": true,
  "message": "Success",
  "data": {
    "products": [
      {
        "id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
        "name": "Palm Sugar Latte",
        "code": "COF-01",
        "price": 22000
      }
    ],
    "total": 1,
    "page": 1,
    "limit": 20
  }
}