Dotlas Data API
API Reference

Get item price history

Returns the weekly price timeline for a single menu item: the organic and final (post-discount) price as mode, average, min, and max per week. Use it to track how an item's price moved over time. Pass from and to to bound the window.

GET/brands/{brandSlug}/items/{itemId}/price-history
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/price-history?countryCode=ae&from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z&limit=1&cursor=string"
{
  "data": [
    {
      "week": "string",
      "modeOrganicPrice": 0,
      "avgOrganicPrice": 0,
      "minOrganicPrice": 0,
      "maxOrganicPrice": 0,
      "modeFinalPrice": 0,
      "avgFinalPrice": 0,
      "minFinalPrice": 0,
      "maxFinalPrice": 0
    }
  ],
  "pageInfo": {
    "nextCursor": "string",
    "hasMore": true
  }
}
Empty
Empty
Empty
Empty
Empty