VTEX · Schema

SearchSuggestions

Response body object.

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
searches array List of suggested terms.
View JSON Schema on GitHub

JSON Schema

vtex-searchsuggestions-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SearchSuggestions",
  "title": "SearchSuggestions",
  "type": "object",
  "description": "Response body object.",
  "properties": {
    "searches": {
      "type": "array",
      "description": "List of suggested terms.",
      "items": {
        "type": "object",
        "description": "Suggested term.",
        "properties": {
          "term": {
            "type": "string",
            "description": "Search term."
          },
          "count": {
            "type": "number",
            "description": "Number of times the term was searched."
          }
        }
      }
    }
  }
}