Document Tree
Document Properties
Kbid
309F15
Last Modified
21-Sep-2023
Added to KB
12-Jun-2023
Public Access
Everyone
Status
Online
Doc Type
References
Product
ICM 11
Reference - Search REST API 2.0.1
Document View


This API specification is available for download as an Open API 3.0 YAML file: 

References

The following page lists available REST APIs for ICM 11 and their version dependencies:

API Specification

Introduction
OpenAPI Version: 3.0.1
Search Version: 2.0.1

Search API

The Intershop Search REST API contains endpoints related to search and suggestions.

Notes

  • No results are returned if there is no search index.
Search API
/suggest
GET: Retrieves suggestions for a search term

Description

This operation retrieves search suggestions from the installed search engine for a search term.

If no search engine is active or there are no suggestions for the given search term, an empty collection is returned.

Java Method

public com.intershop.sellside.rest.common.capi.resourceobject.SuggestTermRO$SuggestCollectionRO com.intershop.sellside.rest.common.capi.resource.SearchSuggestResource.getSuggestTerms(java.lang.String)

Request Body

--

Request Parameters

LocationNameFormatDefaultExampleDescription
in querySearchTermstringRequired | Defines the search term to find suggestions for

Response

200 - OK

SuggestCollectionRO application/json
Request and Response Object Schemata
SuggestCollectionRO application/json{
  • "pageable":
    string
    The pageable ID
  • "total":
    integer
    The pageable amount total | Format: int32
  • "offset":
    integer
    The pageable offset | Format: int32
  • "amount":
    integer
    The pageable amount | Format: int32
  • "elements":
    array
    An array of SuggestTermRO objects. The list of elements
    [
    SuggestTermRO: Search term suggestion
    {
    • "name":
      string
      The name of an element
    • "type":
      string
      The type of the element. This is normally a constant that can be used to differentiate elements by their type. | Example: SuggestTerm
    • "term":
      string
      A suggested search term | Example: netbooks
    }
    ]
  • "type":
    string
    The type of the element. This is normally a constant that can be used to differentiate elements by their type. | Example: SuggestTerms
  • "sortKeys":
    array
    An array of string literals. The keys to sort for
  • "name":
    string
    The name of an element
}
Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.