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}/eventsAuthorizationBearer <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
Format
date-timeto?string
Format
date-timelimit?integer
Range
1 <= valuecursor?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