SearchSpring provides an API for searching and browsing the catalog of products indexed in your SearchSpring account. The API provides the ability to return results based on a search query or a filter on a field (e.g. Category is "Running Shoes"). SearchSpring will return results in JSON. The response will include products that match the search criteria, available facet options to further refine the results and any configured merchandising content like promotional banner images.
Search API URL
While performing a preview search to display product results within an AutoComplete modal, use the following endpoint to avoid muddying up your insights & reporting data:
This will function exactly the same as a normal search request, but will not affect your reporting.
Using Product Finders?
If implementing Product Finders, you'll similarly need to use this endpoint to avoid muddying up your insights & reporting data:
|Description||The siteId parameter identifies your site. You can find your siteId on the My Account page.|
|Description||The search Query. Searches the database for the terms in the query.|
|Description||Native will return raw JSON for products. HTML will generate HTML for your products based on SearchSpring templates. Accepts "native" or "html".|
curl -X GET https://api.searchspring.net/api/search/search?siteId=scmq7n&q=dress