{
  "opencollection": "1.0.0",
  "info": {
    "name": "VTex Anti-fraud Provider Account Autocomplete API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Autocomplete",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "VTex Get list of the 10 most searched terms",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{providerApiEndpoint}/top_searches",
            "params": [
              {
                "name": "locale",
                "value": "en-US",
                "type": "query",
                "description": "Indicates the target language as a BCP 47 language code. The Intelligent Search must have indexed the account in the target language."
              }
            ]
          },
          "docs": "Lists the 10 most searched terms in the past 14 days.\r\n\r\nFor more information, check the Intelligent Search [Autocomplete](https://help.vtex.com/en/tracks/vtex-intelligent-search--19wrbB7nEQcmwzDPl1l4Cb/4gXFsEWjF7QF7UtI2GAvhL) guide.\r\n\r\nThis endpoint does not require authentication."
        },
        {
          "info": {
            "name": "VTex Get list of suggested terms and attributes similar to the search term",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{providerApiEndpoint}/autocomplete_suggestions",
            "params": [
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Search term. It can contain any character."
              },
              {
                "name": "locale",
                "value": "en-US",
                "type": "query",
                "description": "Indicates the target language as a BCP 47 language code. The Intelligent Search must have indexed the account in the target language."
              }
            ]
          },
          "docs": "Lists the suggested terms and attributes similar to the search term.\r\n\r\nFor more information, check the Intelligent Search [Autocomplete](https://help.vtex.com/en/tracks/vtex-intelligent-search--19wrbB7nEQcmwzDPl1l4Cb/4gXFsEWjF7QF7UtI2GAvhL) guide.\r\n\r\nThis endpoint does not require authentication."
        },
        {
          "info": {
            "name": "VTex Get list of suggested terms similar to the search term",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{providerApiEndpoint}/search_suggestions",
            "params": [
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Search term. It can contain any character."
              },
              {
                "name": "locale",
                "value": "en-US",
                "type": "query",
                "description": "Indicates the target language as a BCP 47 language code. The Intelligent Search must have indexed the account in the target language."
              }
            ]
          },
          "docs": "Lists suggested terms similar to the search term.\r\n\r\nFor more information, check the Intelligent Search [Autocomplete](https://help.vtex.com/en/tracks/vtex-intelligent-search--19wrbB7nEQcmwzDPl1l4Cb/4gXFsEWjF7QF7UtI2GAvhL) guide.\r\n\r\nThis endpoint does not require authentication."
        },
        {
          "info": {
            "name": "VTex Product Search Autocomplete",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{providerApiEndpoint}/buscaautocomplete",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "productNameContains",
                "value": "",
                "type": "query",
                "description": "Part of the string that will be searched."
              }
            ]
          },
          "docs": "Retrieves product's information related to the searched string.\r\n`{{searchString}} is the part of string the user is looking for.\r\nE.g.: `ref` | `refrig` | `refrigerator`"
        }
      ]
    }
  ],
  "bundled": true
}