Search Documentation

Search API endpoints, webhooks, tools, and guides

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

Search Products for POS Cart

Searches active sellable products and outlet-specific stock quantities for an authorized outlet.

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

Request

Provide the following fields in the request payload.

Body application/json
querystringoptional

Search term matching product name, SKU, or barcode.

limitintegeroptionaldefault: 20

Maximum number of products to return.

outletIdstring (uuid)required

Active POS outlet UUID for stock and availability resolution.

Responses

Select a status code to inspect schema.

OK — Matching POS products returned.application/json
successenum('true')

Success (true).

messagestring

Message.

dataobject | null

Response payload or null.

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

Response

application/json
{
  "success": true,
  "message": "Success",
  "data": {
    "products": []
  }
}