Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 2.58 KB

Request.md

File metadata and controls

18 lines (14 loc) · 2.58 KB

Request

Properties

Name Type Description Notes
area String Area i.e. 'Production' Will not be used immediately. This will be useful when we eventually need to support a US area vs a Canada area. But this would require using the custom dataset instead of user-generated.
collection String Name of the collection used to determine the retail backend to use. Usually it is name which is associated with retail project in command center (project configuration).
searchItems Int Completion max suggestions. The maximum allowed max suggestions is 20.
query String String. Required. The query used to generate suggestions. The maximum number of allowed characters is 255.
enableAttributeSuggestion Bool Enable attribute suggestions, by setting the field enableAttributeSuggestion=true in the API request. Then in response, there will be an additional field attributeResults to show direct match results on brands/categories Note that attribute results directly come from the products we import and Google does not apply any cleaning on them. [optional]
extendedSuggestions Bool Optional param which is define if extended suggestions will be returned in autocomplete response or not. Possibly values: true, false, not specified (If not specified default collection setting will be used). [optional]
extendedAttributes [String] List with extended attributes which are would be returned in autocomplete response. Requires extendedSuggestions to be enabled using search param or on collection layer. [optional]
visitorId String String. Not required field. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. [optional]
site String Name of site filter. If not specified, the specified area's default site will be applied if configured in Command Center. To not use default specify empty value i.e."". If the site doesn't exist then the search will execute without the site filter. [optional]

[Back to Model list] [Back to API list] [Back to README]