Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Instructions to use the service to retrieve different query signals data. This will involve next queries and related tags in the same endpoint.

...

ParameterDescriptionData TypeMandatory
termsThe query typed by the userStringYes
options

Object that may contain information about filters and other required data for example: scope

ObjectNo
callbackFunction that will be executed after sending dataFunctionNo

Notes:

  • Additional parameters should be included into the options object. The list of parameters that can be included into the options parameter can be checked visiting the Search section of SEARCH REST API
  • To view the format of the JSON result, visit also the Search section of SEARCH REST API

...

Code Block
languagejs
var options = {
    lang:'en',
	scope:'desktop'
}
    
empathySearch.topclickedquerySignals('shirt', options, function(data){
    //the data object will contain top clicked
    alert('test');
});

...