API caching recommendation

Which data should be stored on partner servers and how often needs to be refreshed.

We highly recommend each partner to store the API responses in order to improve end-user experience.

The cached/stored data at partner's side need to be updated at least once every day.

Data to be cached

  • /config -> 'languages', 'currencies', 'types', 'categories', 'locations'
  • /products -> list of products: 'uuid', 'title', and other details
  • /product-types -> list of products types: 'uuid', and other details
  • /product-types/UUID/price-lists -> price lists per date, pax and age group (they can be different for every day!)

Not to be cached:
/product-types/UUID/price-lists/YYYY-MM-DD
This is availability check, need to be done just before booking.