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-promotion-listInvoicesPermission: invoice.view

Get Applicable Promotions for POS

Lists active promotions optionally filtered by product code for real-time POS cart calculation.

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

Request

Provide the following fields in the request payload.

Body application/json
codestringoptional

Product code filter alias.

ProductCodestringoptional

PascalCase product code filter.

productCodestringoptional

CamelCase product code filter.

IsActivebooleanoptional

PascalCase active status filter.

isActivebooleanoptional

CamelCase active status filter.

Limitintegeroptional

PascalCase result limit.

limitintegeroptional

CamelCase result limit.

Responses

Select a status code to inspect schema.

OK — Active promotions returned.application/json
successenum('true')

Success (true).

messagestring

Message.

dataobject | null

Response payload or null.

POST/api/invoices/get-promotion-list
curl -X POST "https://api.invoger.com/api/invoices/get-promotion-list" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{ "productCode": "COF-01", "isActive": true, "limit": 20 }'
Interactive playground

Response

application/json
{
  "success": true,
  "message": "Success",
  "data": {
    "Promotions": [],
    "total": 0
  }
}