In this article the request to Findologic with all important parameters and information regarding the request is documented.
If any questions occur, please contact our technical support support@findologic.com.
alive
or dead
. If dead
is the case, a fallback mechanism must take effect, and the conventional shop search must process the query.http://service.findologic.com/ps/<SHOP_URL>/alivetest.php?shopkey=<SHOPKEY>
.alive
, the actual query is sent to the Findologic service.alive
, the query is processed by the conventional shop search. The request is composed of the following components:
shopkey
shopurl
userip
referer
revision
query
attrib[]
order
properties[]
outputAttrib[]
pushAttrib[][]
count
first
identifier
group[]
All parameters keys and their values must be submitted UTF-8 and URL encoded.
attrib[Färbung][]=grün => attrib[F%C3%A4rbung][]=gr%C3%BCn
To build the request URL, use existing functions if possible. The request is automatically correctly coded with these. In PHP for example, the function is http_build_query:
$parameters = array( 'shopkey' => 'ABCDABCDABCDABCDABCDABCDABCDABCD', 'attrib' => array( 'cat' => array( 'Cars' ), ... ), ); $requestUrl = 'http://service.findologic.com/ps/my-shop.com/index.php?' . http_build_query($parameters);
The following are examples of queries:
Search | Request |
---|---|
“green car” | <Service-URL>?query=green%20car |
“green car”, “new items first” | <Service-URL>?query=green%20car&order=dateadded+DESC |
“green car”, page 2 (with 24 items per page) | <Service-URL>?query=green%20car&first=24 |
“green car”, limited by the “Cars” category | <Service-URL>?query=green%20car&attrib[cat][]=Cars |
“green car”, all items of the “Cars” category in green colour | <Service-URL>?query=green%20car&attrib[cat][]=Cars&attrib[Colour][]=green |
“t-shirt”, limited to those that are available in the colour red and blue | <Service-URL>?query=t-shirt&attrib[Colour][]=red&attrib[Colour][]=blue |