API Reference
List items with recent changes
Lists the brand items that changed recently (added, removed, repriced, or discounted), so you can spot what moved without scanning every item. Defaults to the last month.
GET
/brands/{brandSlug}/items/recent-eventsAuthorizationBearer <token>
In: header
Path Parameters
brandSlugstring
Query Parameters
countryCodestring
Value in
"ae" | "sa" | "kw" | "qa" | "bh" | "eg" | "jo" | "om" | "ma" | "kz" | "iq"from?string
Format
date-timeto?string
Format
date-timeeventType?string
restaurantId?string
limit?integer
Range
1 <= valuecursor?string
Response Body
curl -X GET "https://loading/v1/brands/string/items/recent-events?countryCode=ae&from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z&eventType=string&restaurantId=string&limit=1&cursor=string"{
"data": [
{
"brandItemNameId": "string",
"itemName": "string",
"eventCount": 0,
"latestEventDate": "string",
"eventTypes": [
"string"
]
}
],
"pageInfo": {
"nextCursor": "string",
"hasMore": true
}
}Empty
Empty
Empty
Empty
Empty