Top Offers

Get Top Offers

GET https://api.vidi.cc/api/emarsys/:locale/offers

Example: https://api.vidi.cc/api/emarsys/en-gb/offers CDN support: https://cdn.vidi.cc/api/emarsys/en-gb/offers

Path Parameters

Name
Type
Description

locale

string

e.g en-gb This is the only supported locale at the moment

{
  "offers": [
    {
      "iata_code": "KUL",
      "content": [
        {
          "offer_id": 12226,
          "imageurl": "https://s3-ap-southeast-1.amazonaws.com/tly-production/offers/images/000/012/226/original/Historical-Malacca-Day-Tour-from-Kuala-Lumpur-travel-3-sixty.jpg?1507180700",
          "description": "Malacca is a city is a UNESCO World Heritage site. Founded in 1400, Malacca was once on...",
          "text": "Small-Group Historical Malacca Day Tour from Kuala Lumpur Including Lunch",
          "curr": [
            {
              "currency_code": "AUD",
              "price_formatted": "A$47.60",
              "savings_percentage": 21
            },
            {
              "currency_code": "CAD",
              "price_formatted": "CDN$45.63",
              "savings_percentage": 21
            },
            {
              "currency_code": "EUR",
              "price_formatted": "€30.44",
              "savings_percentage": 21
            },
            {
              "currency_code": "HKD",
              "price_formatted": "HKD270.57",
              "savings_percentage": 21
            },
            {
              "currency_code": "MYR",
              "price_formatted": "RM145.00",
              "savings_percentage": 21
            },
            {
              "currency_code": "NZD",
              "price_formatted": "NZD50.83",
              "savings_percentage": 21
            },
            {
              "currency_code": "PHP",
              "price_formatted": "₱1,810.37",
              "savings_percentage": 21
            },
            {
              "currency_code": "GBP",
              "price_formatted": "£26.97",
              "savings_percentage": 21
            },
            {
              "currency_code": "RUB",
              "price_formatted": "2,301.24 ₽",
              "savings_percentage": 21
            },
            {
              "currency_code": "SGD",
              "price_formatted": "S$47.49",
              "savings_percentage": 21
            },
            {
              "currency_code": "TWD",
              "price_formatted": "NT$1,067.35",
              "savings_percentage": 21
            },
            {
              "currency_code": "THB",
              "price_formatted": "฿1,141.99",
              "savings_percentage": 21
            },
            {
              "currency_code": "USD",
              "price_formatted": "$34.58",
              "savings_percentage": 21
            }
          ]
        },
        .... (offers for KUL)
      ],
      .... (offers for other IATAs)
    },
  ],
}       

Get Top Offers in IATA

GET https://api.vidi.cc/api/emarsys/:locale/offers/:id

Example: https://api.vidi.cc/api/emarsys/en-gb/offers/kul CDN support: https://cdn.vidi.cc/api/emarsys/en-gb/offers/kul

Path Parameters

Name
Type
Description

id

string

e.g kul ID is represented by IATA codes, if the client provides an invalid or unavailable IATA codes, the server will return an empty result. { "offers": [] }

locale

string

e.g en-gb This is the only supported locale at the moment

Last updated