findologic / findologic-api

Library for sending requests to the Findologic API
MIT License
1 stars 3 forks source link

Restructure Suggestions for Smart Suggest/Autocomplete requests #19

Open TheKeymaster opened 5 years ago

TheKeymaster commented 5 years ago

Relevant is

*Maybe it is also useful to validate the Json from FINDOLOGIC again, but I am unsure if it makes sense or not, since FINDOLOGIC should always respond with correctly validated data. Also if the search response will be updated, a response might cause an exception since it is no longer schema conform.

TheKeymaster commented 5 years ago

Actually we should introduce multiple suggestions. Not only a „Suggestion“, but a „PromotionSuggestion“ or „ProductSuggestion“, etc.