Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page6 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
POST/api/promotions/get-promotion-listPromotionsPermission: promotion.view

Get Promotion List

Retrieves paginated discount and tiered pricing promotions within the active tenant.

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
idstringoptional

id parameter.

querystringoptional

query parameter.

productIdsstringoptional

product Ids parameter.

productCodestringoptional

product Code parameter.

categorystringoptional

category parameter.

isActiveboolean | nulloptional

is Active parameter.

limitnumberoptionaldefault: 20

limit parameter.

pagenumberoptionaldefault: 1

page parameter.

Responses

Select a status code to inspect schema.

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

Success (true).

messagestring

Message.

dataobject | null

Response payload or null.

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

Response

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