On this page6 sections
POST/api/promotions/get-product-listPromotionsPermission: promotion.view
Get Product Options for Promotions
Menu-owned endpoint listing tenant products (outlet-scoped when restricted) for promotion targeting.
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
productmodule restriction applies.
Request
Provide the following fields in the request payload.
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 options retrieved.application/json
successenum('true')
Success (true).
messagestring
Message.
dataobject | null
Response payload or null.
POST/api/promotions/get-product-list
curl -X POST "https://api.invoger.com/api/promotions/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": [],
"total": 0
}
}