Dotlas Data API
API Reference

Get item menu events

Returns a single item's menu-change timeline (added, removed, repriced, discounted), newest first. Defaults to the last month. Pass from and to to widen the window.

GET/brands/{brandSlug}/items/{itemId}/events
AuthorizationBearer <token>

In: header

Path Parameters

brandSlugstring
itemIdstring

Query Parameters

countryCodestring
Value in"ae" | "sa" | "kw" | "qa" | "bh" | "eg" | "jo" | "om" | "ma" | "kz" | "iq"
from?string
Formatdate-time
to?string
Formatdate-time
limit?integer
Range1 <= value
cursor?string

Response Body

curl -X GET "https://loading/v1/brands/string/items/string/events?countryCode=ae&from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z&limit=1&cursor=string"
{
  "data": [
    {
      "eventDate": "string",
      "eventType": "string",
      "eventSubtype": "string",
      "itemPrice": 0,
      "prevItemPrice": 0,
      "itemPriceDiscounted": 0,
      "prevItemPriceDiscounted": 0,
      "eventSources": [
        "string"
      ],
      "eventOutletCount": 0
    }
  ],
  "pageInfo": {
    "nextCursor": "string",
    "hasMore": true
  }
}
Empty
Empty
Empty
Empty
Empty