Dotlas Data API
API Reference

List promotions

GET/brands/{brandSlug}/promotions

Returns a brand's promotions and ad campaigns seen across delivery sources as one timeline, newest first. Filter by type (discount or campaign) or a date window.

AuthorizationBearer <token>

In: header

Path Parameters

brandSlug*string

Query Parameters

countryCode*string

Value in

  • "ae"
  • "sa"
  • "kw"
  • "qa"
  • "bh"
  • "eg"
  • "jo"
  • "om"
  • "ma"
  • "kz"
  • "iq"
type?string

Value in

  • "discount"
  • "campaign"
  • "all"
from?string
Formatdate-time
to?string
Formatdate-time
restaurantId?string
limit?integer
Range1 <= value
cursor?string

Response Body

application/json

curl -X GET "https://example.com/brands/string/promotions?countryCode=ae"
{  "data": [    {      "type": "discount",      "eventDate": "string",      "title": "string",      "isLive": true,      "daysLive": 0,      "launchDate": "string",      "deactivationDate": "string",      "channels": [        "string"      ],      "prevalenceRatio": 0,      "ctaUrl": "string",      "details": "string"    }  ],  "pageInfo": {    "nextCursor": "string",    "hasMore": true  }}