Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page6 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
POST/api/reports/product-sales/get-outlet-optionsReportsPermission: reports.view

Get Outlet Options for Product Sales

Menu-owned compact endpoint returning accessible outlet filter choices for the Product Sales report.

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

Request

Provide the following fields in the request payload.

Body application/json
querystringoptional

query parameter.

Responses

Select a status code to inspect schema.

OK — Outlet options retrieved.application/json
successenum('true')

Success (true).

messagestring

Message.

dataobject | null

Response payload or null.

POST/api/reports/product-sales/get-outlet-options
curl -X POST "https://api.invoger.com/api/reports/product-sales/get-outlet-options" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{ "query": "" }'
Interactive playground

Response

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