{ "openapi": "3.0.0", "info": { "version": "0.1.12", "title": "Intelligent Search API (Legacy)", "description": ">ℹ️ **A new version of this API is available.** The [Intelligent Search API v1](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1) replaces this API. It adds HTTP caching (`Cache-Control: public, max-age=600`) for faster storefronts, lower latency, explicit regionalization without relying on the segment cookie, and a new `GET` [Get product](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1#get-/products) endpoint for product detail pages. All new headless integrations must use Intelligent Search API v1. The endpoints listed here will be deprecated in a future announcement. Each endpoint below includes a callout with the equivalent Intelligent Search API v1 route.\r\n\r\n>ℹ️ Onboarding guide\r\n>\r\n> Check the new [Search onboarding guide](https://developers.vtex.com/docs/guides/search-overview). We created this guide to improve the onboarding experience for developers at VTEX. It assembles all documentation on our Developer Portal about Search and is organized by focusing on the developer's journey.\r\n\r\n[VTEX Intelligent Search](https://help.vtex.com/en/tracks/vtex-intelligent-search--19wrbB7nEQcmwzDPl1l4Cb/3qgT47zY08biLP3d5os3DG) is a search solution for digital commerce that simply and intuitively displays relevant results based on the catalog from the user's first interaction with the store through the search bar, browsing categories, or even through the window displays.\r\n\r\n The tool also offers features such as autocomplete, displaying search and product suggestions based on the shopper's context, and filters that help when searching for the desired product.\r\n\r\n ## Common parameters \r\n\r\n| **Parameter name** | **Description** |\r\n| --------------- | ----------------- | \r\n| `{{accountName}}` | Name of the VTEX account. Used as part of the URL. | \r\n| ` {{environment}}` | Environment to use. Used as part of the URL. |", "license": { "name": "MIT" } }, "servers": [ { "url": "https://{accountName}.{environment}.com.br/api/io/_v/api/intelligent-search", "description": "VTEX IO Intelligent Search server URL.", "variables": { "accountName": { "default": "apiexamples", "description": "Name of the VTEX account. Used as part of the URL." }, "environment": { "description": "Environment to use. Used as part of the URL.", "enum": [ "vtexcommercestable" ], "default": "vtexcommercestable" } } }, { "url": "https://{storeDomain}/api/io/_v/api/intelligent-search", "description": "Store domain URL.", "variables": { "storeDomain": { "default": "apiexamples.com", "description": "Store domain." } } }, { "url": "https://{accountName}.{environment}.com/api/io/_v/api/intelligent-search", "description": "VTEX IO Intelligent Search server URL.", "variables": { "accountName": { "default": "apiexamples", "description": "Name of the VTEX account. Used as part of the URL." }, "environment": { "description": "Environment to use. Used as part of the URL.", "enum": [ "myvtex" ], "default": "myvtex" } } }, { "url": "https://{accountName}.{environment}.com.br/api/intelligent-search/v0", "description": "VTEX Intelligent Search server URL for pickup point availability.", "variables": { "accountName": { "default": "apiexamples", "description": "Name of the VTEX account. Used as part of the URL." }, "environment": { "description": "Environment to use. Used as part of the URL.", "enum": [ "vtexcommercestable" ], "default": "vtexcommercestable" } } } ], "paths": { "/top_searches": { "servers": [ { "url": "https://{accountName}.{environment}.com.br/api/io/_v/api/intelligent-search", "description": "VTEX IO Intelligent Search server URL.", "variables": { "accountName": { "default": "apiexamples", "description": "Name of the VTEX account. Used as part of the URL." }, "environment": { "description": "Environment to use. Used as part of the URL.", "enum": [ "vtexcommercestable" ], "default": "vtexcommercestable" } } } ], "get": { "summary": "Get list of the 10 most searched terms", "description": "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\n>ℹ️ Migrate to [Intelligent Search API v1](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1) for HTTP caching, lower latency, and a simpler URL structure. The new endpoint is: `GET` [Get list of the 10 most searched terms](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1#get-/top-searches). See the [migration guide](https://developers.vtex.com/docs/guides/migrating-to-intelligent-search-api-v1).\r\n\r\n## Permissions\r\n\r\nThis endpoint does not require [authentication](https://developers.vtex.com/docs/guides/authentication) or [permissions](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).", "parameters": [ { "$ref": "#/components/parameters/locale" } ], "tags": [ "Autocomplete" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TopSearches" }, "example": { "searches": [ { "term": "home", "count": 14 }, { "term": "shirt", "count": 10 }, { "term": "top", "count": 9 }, { "term": "tops", "count": 6 }, { "term": "camera", "count": 5 }, { "term": "kit", "count": 5 }, { "term": "work shirt", "count": 2 }, { "term": "shirts", "count": 2 }, { "term": "clothing", "count": 2 }, { "term": "classic shoes", "count": 1 } ] } } } } } } }, "/autocomplete_suggestions": { "servers": [ { "url": "https://{accountName}.{environment}.com.br/api/io/_v/api/intelligent-search", "description": "VTEX IO Intelligent Search server URL.", "variables": { "accountName": { "default": "apiexamples", "description": "Name of the VTEX account. Used as part of the URL." }, "environment": { "description": "Environment to use. Used as part of the URL.", "enum": [ "vtexcommercestable" ], "default": "vtexcommercestable" } } } ], "get": { "summary": "Get list of suggested terms and attributes similar to the search term", "description": "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\n>ℹ️ Migrate to [Intelligent Search API v1](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1) for HTTP caching, lower latency, and a simpler URL structure. The new endpoint is: `GET` [Get list of suggested terms and attributes similar to the search term](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1#get-/autocomplete-suggestions). See the [migration guide](https://developers.vtex.com/docs/guides/migrating-to-intelligent-search-api-v1).\r\n\r\n## Permissions\r\n\r\nThis endpoint does not require [authentication](https://developers.vtex.com/docs/guides/authentication) or [permissions](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).", "tags": [ "Autocomplete" ], "parameters": [ { "$ref": "#/components/parameters/query" }, { "$ref": "#/components/parameters/locale" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AutocompleteSearchSuggestions" }, "example": { "searches": [ { "term": "tv", "count": 28861, "attributes": [ { "key": "departamento", "value": "tvs-e-video", "labelKey": "Departamento", "labelValue": "TVs e Vídeo" }, { "key": "categoria", "value": "tvs", "labelKey": "Categoria", "labelValue": "TVs" }, { "key": "subcategoria", "value": "receptor-de-controle-de-acesso", "labelKey": "Subcategoria", "labelValue": "Receptor de Controle de Acesso" } ] }, { "term": "smarth tv", "count": 2308 }, { "term": "painel para tv", "count": 975 }, { "term": "rack tv", "count": 589 } ] } } } } } } }, "/correction_search": { "servers": [ { "url": "https://{accountName}.{environment}.com.br/api/io/_v/api/intelligent-search", "description": "VTEX IO Intelligent Search server URL.", "variables": { "accountName": { "default": "apiexamples", "description": "Name of the VTEX account. Used as part of the URL." }, "environment": { "description": "Environment to use. Used as part of the URL.", "enum": [ "vtexcommercestable" ], "default": "vtexcommercestable" } } } ], "get": { "summary": "Get attempt of correction of a misspelled term", "description": "Tries to correct a misspelled term from the search.\r\n\r\n>ℹ️ Migrate to [Intelligent Search API v1](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1) for HTTP caching, lower latency, and a simpler URL structure. The new endpoint is: `GET` [Get attempt of correction of a misspelled term](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1#get-/correction-search). See the [migration guide](https://developers.vtex.com/docs/guides/migrating-to-intelligent-search-api-v1).\r\n\r\n## Permissions\r\n\r\nThis endpoint does not require [authentication](https://developers.vtex.com/docs/guides/authentication) or [permissions](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).", "tags": [ "Product list page" ], "parameters": [ { "$ref": "#/components/parameters/query" }, { "$ref": "#/components/parameters/locale" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Correction" }, "example": { "correction": { "correction": true, "misspelled": true, "text": "mountain bike", "highlighted": "mountain bike" } } } } } } } }, "/banners/{facets}": { "servers": [ { "url": "https://{accountName}.{environment}.com.br/api/io/_v/api/intelligent-search", "description": "VTEX IO Intelligent Search server URL.", "variables": { "accountName": { "default": "apiexamples", "description": "Name of the VTEX account. Used as part of the URL." }, "environment": { "description": "Environment to use. Used as part of the URL.", "enum": [ "vtexcommercestable" ], "default": "vtexcommercestable" } } } ], "get": { "summary": "Get list of banners registered for query", "description": "Lists the banners registered for a given query. Check the [configuring banners documentation](https://help.vtex.com/en/tracks/vtex-intelligent-search--19wrbB7nEQcmwzDPl1l4Cb/4ViKEivLJtJsvpaW0aqIQ5) for a full explanation of the banner feature.\r\n\r\n>ℹ️ Migrate to [Intelligent Search API v1](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1) for HTTP caching, lower latency, and a simpler URL structure. The new endpoint is: `GET` [Get list of banners registered for query](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1#get-/banners/-facets-). See the [migration guide](https://developers.vtex.com/docs/guides/migrating-to-intelligent-search-api-v1).\r\n\r\n## Permissions\r\n\r\nThis endpoint does not require [authentication](https://developers.vtex.com/docs/guides/authentication) or [permissions](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).", "tags": [ "Product list page" ], "parameters": [ { "$ref": "#/components/parameters/query" }, { "$ref": "#/components/parameters/facetsPath" }, { "$ref": "#/components/parameters/locale" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Banners" }, "example": { "banners": [ { "id": "summersale", "name": "Summer Sale", "area": "1", "html": "

This is a test

" } ] } } } } } } }, "/search_suggestions": { "servers": [ { "url": "https://{accountName}.{environment}.com.br/api/io/_v/api/intelligent-search", "description": "VTEX IO Intelligent Search server URL.", "variables": { "accountName": { "default": "apiexamples", "description": "Name of the VTEX account. Used as part of the URL." }, "environment": { "description": "Environment to use. Used as part of the URL.", "enum": [ "vtexcommercestable" ], "default": "vtexcommercestable" } } } ], "get": { "summary": "Get list of suggested terms similar to the search term", "description": "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\n>ℹ️ Migrate to [Intelligent Search API v1](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1) for HTTP caching, lower latency, and a simpler URL structure. The new endpoint is: `GET` [Get list of suggested terms similar to the search term](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1#get-/search-suggestions). See the [migration guide](https://developers.vtex.com/docs/guides/migrating-to-intelligent-search-api-v1).\r\n\r\n## Permissions\r\n\r\nThis endpoint does not require [authentication](https://developers.vtex.com/docs/guides/authentication) or [permissions](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).", "tags": [ "Autocomplete" ], "parameters": [ { "$ref": "#/components/parameters/query" }, { "$ref": "#/components/parameters/locale" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SearchSuggestions" }, "example": { "searches": [ { "term": "mountain bike", "count": 66 }, { "term": "bike helmet", "count": 121 }, { "term": "electric bike", "count": 78 }, { "term": "bike rack", "count": 161 }, { "term": "road bike", "count": 28 } ] } } } } } } }, "/product_search/{facets}": { "servers": [ { "url": "https://{storeDomain}/api/io/_v/api/intelligent-search", "description": "Store domain URL.", "variables": { "storeDomain": { "default": "apiexamples.com", "description": "Store domain." } } }, { "url": "https://{accountName}.{environment}.com.br/api/io/_v/api/intelligent-search", "description": "VTEX IO Intelligent Search server URL.", "variables": { "accountName": { "default": "apiexamples", "description": "Name of the VTEX account. Used as part of the URL." }, "environment": { "description": "Environment to use. Used as part of the URL.", "enum": [ "vtexcommercestable" ], "default": "vtexcommercestable" } } }, { "url": "https://{accountName}.{environment}.com/api/io/_v/api/intelligent-search", "description": "VTEX IO Intelligent Search server URL.", "variables": { "accountName": { "default": "apiexamples", "description": "Name of the VTEX account. Used as part of the URL." }, "environment": { "description": "Environment to use. Used as part of the URL.", "enum": [ "myvtex" ], "default": "myvtex" } } } ], "get": { "summary": "Get list of products for a query", "description": "Lists the active products for a given query.\r\n\r\n>ℹ️ Migrate to [Intelligent Search API v1](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1) for HTTP caching (`Cache-Control: public, max-age=600`), lower latency, and explicit regionalization without relying on the segment cookie. The new endpoint is: `GET` [Search products](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1#get-/product-search/-facets-). If you need to look up a single product by a known identifier (for a product detail page), use the new `GET` [Get product](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1#get-/products) endpoint. It skips the search pipeline entirely, reducing latency and improving cache-hit rates. See the [migration guide](https://developers.vtex.com/docs/guides/migrating-to-intelligent-search-api-v1).\r\n\r\n>⚠️ **Required facet:** Only the `trade-policy` facet is required in the path. All other facets (such as `productClusterIds`, `category`, `color`, etc.) are optional filters that can be used to narrow down the search results. When no additional facets are provided, all products for the trade policy will be returned.\r\n\r\n>⚠️ When possible, use the store's production domain in the URL (for example, `https://apiexamples.com/api/io/_v/api/intelligent-search`) for a better performance. This is particularly important for headless integrations. In case it's not possible to use the store's production URL, prefer using `https://{accountName}.vtexcommercestable.com.br/api/io/_v/api/intelligent-search`.\r\n\r\nIf using this option in a fully headless store with no store domain configured, follow these steps:\r\n1. Configure a domain by following the [Configuring the store domain](https://help.vtex.com/docs/tutorials/configuring-the-store-domain) guide.\r\n2. Send the `Host` header with the configured domain:\r\n```sh\r\ncurl --location 'https://{accountName}.vtexcommercestable.com.br/api/io/_v/api/intelligent-search/product_search/' \\\r\n--header 'Accept: application/json' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Host: {configured domain}'\r\n```\r\n\r\n## Sponsored products (VTEX Ads)\r\n\r\nThe query parameters **`showSponsored`**, **`sponsoredCount`**, **`advertisementPlacement`**, and **`repeatSponsoredProducts`** apply only to stores using [VTEX Ads](https://developers.vtex.com/docs/guides/vtex-ads). See each parameter for behavior details.\r\n\r\n ## Permissions\r\n\r\nThis endpoint does not require [authentication](https://developers.vtex.com/docs/guides/authentication) or [permissions](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).", "tags": [ "Product list page" ], "parameters": [ { "$ref": "#/components/parameters/facetsPath" }, { "$ref": "#/components/parameters/query" }, { "in": "query", "name": "count", "description": "Number of products per page.", "schema": { "type": "number", "nullable": true, "default": 24 } }, { "in": "query", "name": "page", "description": "Current search page.", "schema": { "type": "number", "nullable": true, "default": 1 } }, { "in": "query", "name": "sort", "description": "Defines how results are sorted. Relevance is Intelligent Search's **default** sorting type, used for typical product search and applied when this parameter is omitted, null or empty. Use one of the other values listed below only when you need a fixed sort instead of relevance.\r\n\r\nAllowed values:\r\n- **Omitted, empty, or null** (default): Results are sorted by relevance.\r\n- `price:desc`: Results are sorted by price in descending order, from highest to lowest.\r\n- `price:asc`: Results are sorted by price in ascending order, from lowest to highest.\r\n- `orders:desc`: Results are sorted by the amount of orders in the past 90 days, in descending order.\r\n- `name:desc`: Results are sorted by name in descending alphabetical order.\r\n- `name:asc`: Results are sorted by name in ascending alphabetical order.\r\n- `release:desc`: Results are sorted by release date in descending order, from most recent to least recent.\r\n- `discount:desc`: Results are sorted by discount percentage in descending order, from highest to lowest.", "schema": { "type": "string", "nullable": true, "enum": [ "price:desc", "price:asc", "orders:desc", "name:desc", "name:asc", "release:desc", "discount:desc", null ], "example": null } }, { "$ref": "#/components/parameters/locale" }, { "$ref": "#/components/parameters/hideUnavailableItems" }, { "$ref": "#/components/parameters/simulationBehavior" }, { "in": "query", "name": "showSponsored", "description": "Defines if sponsored products are listed (`true`) or not (`false`). Applicable to stores using [VTEX Ads](https://developers.vtex.com/docs/guides/vtex-ads) to offer ad space.", "schema": { "type": "boolean", "nullable": true, "default": false } }, { "$ref": "#/components/parameters/sponsoredCount" }, { "$ref": "#/components/parameters/advertisementPlacement" }, { "$ref": "#/components/parameters/repeatSponsoredProducts" } ], "responses": { "200": { "description": "OK \n\n List of products for the given query.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProductSearch" }, "example": { "products": [ { "cacheId": "sp-2000003", "productId": "2000003", "description": "Introducing our exquisite Top Wood Clock, a timeless blend of elegance and craftsmanship. Crafted from premium-quality wood, this clock seamlessly combines functionality with aesthetic appeal. Its sleek design and rich wood finish make it a sophisticated addition to any space, from classic to contemporary interiors.", "productName": "Top Wood Clock", "productReference": "clock120", "linkText": "wood-clock", "brand": "Sony", "brandId": 2000005, "link": "/wood-clock/p", "categories": [ "/Home & Decor/" ], "categoryId": "40", "categoriesIds": [ "/40/" ], "priceRange": { "sellingPrice": { "highPrice": 197.99, "lowPrice": 197.99 }, "listPrice": { "highPrice": 197.99, "lowPrice": 197.99 } }, "specificationGroups": [ { "originalName": "allSpecifications", "name": "allSpecifications", "specifications": [ { "originalName": "sellerId", "name": "sellerId", "values": [ "1" ] } ] } ], "skuSpecifications": [], "productClusters": [ { "id": "1970", "name": "Summer" } ], "clusterHighlights": [ { "id": "1970", "name": "Summer" } ], "properties": [ { "name": "sellerId", "originalName": "sellerId", "values": [ "1" ] } ], "items": [ { "sellers": [ { "sellerId": "1", "sellerName": "VTEX", "addToCartLink": "", "sellerDefault": true, "commertialOffer": { "DeliverySlaSamplesPerRegion": {}, "DeliverySlaSamples": [], "AvailableQuantity": 10000, "discountHighlights": [], "Installments": [ { "Value": 197.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 1, "Name": "American Express à vista", "PaymentSystemName": "American Express" }, { "Value": 197.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 1, "Name": "Visa à vista", "PaymentSystemName": "Visa" }, { "Value": 98.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 2, "Name": "Visa 2 vezes sem juros", "PaymentSystemName": "Visa" }, { "Value": 65.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 3, "Name": "Visa 3 vezes sem juros", "PaymentSystemName": "Visa" }, { "Value": 49.49, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 4, "Name": "Visa 4 vezes sem juros", "PaymentSystemName": "Visa" }, { "Value": 39.59, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 5, "Name": "Visa 5 vezes sem juros", "PaymentSystemName": "Visa" }, { "Value": 32.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 6, "Name": "Visa 6 vezes sem juros", "PaymentSystemName": "Visa" }, { "Value": 197.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 1, "Name": "Diners à vista", "PaymentSystemName": "Diners" }, { "Value": 100.48, "InterestRate": 100, "TotalValuePlusInterestRate": 200.96, "NumberOfInstallments": 2, "Name": "Diners 2 vezes com juros", "PaymentSystemName": "Diners" }, { "Value": 197.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 1, "Name": "Mastercard à vista", "PaymentSystemName": "Mastercard" }, { "Value": 197.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 1, "Name": "Boleto Bancário à vista", "PaymentSystemName": "Boleto Bancário" }, { "Value": 197.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 1, "Name": "Vale à vista", "PaymentSystemName": "Vale" }, { "Value": 197.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 1, "Name": "Promissory à vista", "PaymentSystemName": "Promissory" }, { "Value": 197.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 1, "Name": "Customer Credit à vista", "PaymentSystemName": "Customer Credit" }, { "Value": 98.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 2, "Name": "Customer Credit 2 vezes sem juros", "PaymentSystemName": "Customer Credit" }, { "Value": 67.97, "InterestRate": 100, "TotalValuePlusInterestRate": 203.91, "NumberOfInstallments": 3, "Name": "Customer Credit 3 vezes com juros", "PaymentSystemName": "Customer Credit" }, { "Value": 197.99, "InterestRate": 0, "TotalValuePlusInterestRate": 197.99, "NumberOfInstallments": 1, "Name": "Free à vista", "PaymentSystemName": "Free" } ], "Price": 197.99, "ListPrice": 197.99, "spotPrice": 197.99, "taxPercentage": 0, "PriceWithoutDiscount": 197.99, "Tax": 0, "GiftSkuIds": [], "BuyTogether": [], "ItemMetadataAttachment": [], "RewardValue": 0, "PriceValidUntil": "2023-04-01T13:13:20Z", "GetInfoErrorMessage": null, "CacheVersionUsedToCallCheckout": "", "teasers": [ { "name": "8% Boleto", "conditions": { "minimumQuantity": 0, "parameters": [ { "name": "PaymentMethodId", "value": "6" } ] }, "effects": { "parameters": [ { "name": "PercentualDiscount", "value": "8.0" } ] } } ] } } ], "images": [ { "imageId": "155484", "cacheId": "155484", "imageTag": "", "imageLabel": "", "imageText": "", "imageUrl": "https://storecomponents.vtexassets.com/arquivos/ids/155484/Frame.jpg?v=636793817478300000" }, { "imageId": "155485", "cacheId": "155485", "imageTag": "", "imageLabel": "", "imageText": "", "imageUrl": "https://storecomponents.vtexassets.com/arquivos/ids/155485/Frame-1.jpg?v=636793817642000000" }, { "imageId": "155486", "cacheId": "155486", "imageTag": "", "imageLabel": "", "imageText": "", "imageUrl": "https://storecomponents.vtexassets.com/arquivos/ids/155486/Frame-2.jpg?v=636793817785530000" } ], "itemId": "2000534", "name": "1", "nameComplete": "Top Wood Clock 1", "complementName": "", "referenceId": [ { "Key": "RefId", "Value": "16001" } ], "measurementUnit": "un", "unitMultiplier": 1, "variations": [], "ean": "16001", "modalType": "", "videos": [], "attachments": [], "isKit": false } ], "origin": "intelligent-search" }, { "cacheId": "sp-2000214", "productId": "2000214", "description": "Beautiful clock for your home.", "productName": "Metal Clock", "linkText": "metal-clock-lkn", "brand": "Sony", "brandId": 2000005, "link": "/metal-clock-lkn/p", "categories": [ "/Home & Decor/" ], "categoryId": "40", "categoriesIds": [ "/40/" ], "priceRange": { "sellingPrice": { "highPrice": 10, "lowPrice": 10 }, "listPrice": { "highPrice": 10, "lowPrice": 10 } }, "specificationGroups": [ { "originalName": "allSpecifications", "name": "allSpecifications", "specifications": [ { "originalName": "sellerId", "name": "sellerId", "values": [ "1" ] } ] } ], "skuSpecifications": [], "productClusters": [], "clusterHighlights": [], "properties": [ { "name": "sellerId", "originalName": "sellerId", "values": [ "1" ] } ], "items": [ { "sellers": [ { "sellerId": "1", "sellerName": "VTEX", "addToCartLink": "", "sellerDefault": true, "commertialOffer": { "DeliverySlaSamplesPerRegion": {}, "DeliverySlaSamples": [], "AvailableQuantity": 10000, "discountHighlights": [], "Installments": [ { "Value": 10, "InterestRate": 0, "TotalValuePlusInterestRate": 10, "NumberOfInstallments": 1, "Name": "American Express à vista", "PaymentSystemName": "American Express" }, { "Value": 10, "InterestRate": 0, "TotalValuePlusInterestRate": 10, "NumberOfInstallments": 1, "Name": "Visa à vista", "PaymentSystemName": "Visa" }, { "Value": 10, "InterestRate": 0, "TotalValuePlusInterestRate": 10, "NumberOfInstallments": 1, "Name": "Diners à vista", "PaymentSystemName": "Diners" }, { "Value": 10, "InterestRate": 0, "TotalValuePlusInterestRate": 10, "NumberOfInstallments": 1, "Name": "Mastercard à vista", "PaymentSystemName": "Mastercard" }, { "Value": 10, "InterestRate": 0, "TotalValuePlusInterestRate": 10, "NumberOfInstallments": 1, "Name": "Boleto Bancário à vista", "PaymentSystemName": "Boleto Bancário" }, { "Value": 10, "InterestRate": 0, "TotalValuePlusInterestRate": 10, "NumberOfInstallments": 1, "Name": "Vale à vista", "PaymentSystemName": "Vale" }, { "Value": 10, "InterestRate": 0, "TotalValuePlusInterestRate": 10, "NumberOfInstallments": 1, "Name": "Promissory à vista", "PaymentSystemName": "Promissory" }, { "Value": 10, "InterestRate": 0, "TotalValuePlusInterestRate": 10, "NumberOfInstallments": 1, "Name": "Customer Credit à vista", "PaymentSystemName": "Customer Credit" }, { "Value": 5, "InterestRate": 0, "TotalValuePlusInterestRate": 10, "NumberOfInstallments": 2, "Name": "Customer Credit 2 vezes sem juros", "PaymentSystemName": "Customer Credit" }, { "Value": 3.43, "InterestRate": 100, "TotalValuePlusInterestRate": 10.29, "NumberOfInstallments": 3, "Name": "Customer Credit 3 vezes com juros", "PaymentSystemName": "Customer Credit" }, { "Value": 10, "InterestRate": 0, "TotalValuePlusInterestRate": 10, "NumberOfInstallments": 1, "Name": "Free à vista", "PaymentSystemName": "Free" } ], "Price": 10, "ListPrice": 10, "spotPrice": 10, "taxPercentage": 0, "PriceWithoutDiscount": 10, "Tax": 0, "GiftSkuIds": [], "BuyTogether": [], "ItemMetadataAttachment": [], "RewardValue": 0, "PriceValidUntil": "2023-04-01T13:13:20Z", "GetInfoErrorMessage": null, "CacheVersionUsedToCallCheckout": "", "teasers": [ { "name": "8% Boleto", "conditions": { "minimumQuantity": 0, "parameters": [ { "name": "PaymentMethodId", "value": "6" } ] }, "effects": { "parameters": [ { "name": "PercentualDiscount", "value": "8.0" } ] } } ] } } ], "images": [ { "imageId": "155675", "cacheId": "155675", "imageTag": "", "imageLabel": "vtex", "imageText": "vtex", "imageUrl": "https://storecomponents.vtexassets.com/arquivos/ids/155675/vtex.jpg?v=637655270451200000" } ], "itemId": "310124211", "name": "Metal Clock 1", "nameComplete": "Metal Clock 1", "complementName": "", "referenceId": [ { "Key": "RefId", "Value": "2983678w63478" } ], "measurementUnit": "un", "unitMultiplier": 1, "variations": [], "ean": "2398428937489", "modalType": "", "videos": [], "attachments": [], "isKit": false } ], "origin": "intelligent-search" } ], "recordsFiltered": 5, "correction": { "misspelled": false }, "fuzzy": "0", "operator": "and", "translated": false } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "description": "Error response information.", "properties": { "status": { "type": "integer", "description": "Status code." }, "code": { "type": "string", "description": "Error code." }, "name": { "type": "string", "description": "Error name." }, "level": { "type": "string", "description": "Error severity level." }, "response": { "type": "object", "description": "Response details.", "properties": { "data": { "type": "string", "description": "Error response message." } } } } }, "example": { "status": 400, "code": "RESOLVER_WARNING", "name": "ResolverWarning", "level": "warn", "response": { "data": "Unsupported sort null" } } } } } } } }, "/facets/{facets}": { "servers": [ { "url": "https://{accountName}.{environment}.com.br/api/io/_v/api/intelligent-search", "description": "VTEX IO Intelligent Search server URL.", "variables": { "accountName": { "default": "apiexamples", "description": "Name of the VTEX account. Used as part of the URL." }, "environment": { "description": "Environment to use. Used as part of the URL.", "enum": [ "vtexcommercestable" ], "default": "vtexcommercestable" } } } ], "get": { "summary": "Get list of the possible facets for a given query", "description": "Lists the possible facets for a given query.\r\n\r\n>ℹ️ Migrate to [Intelligent Search API v1](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1) for HTTP caching (`Cache-Control: public, max-age=600`), lower latency, and explicit regionalization without relying on the segment cookie. The new endpoint is: `GET` [List filters for a search](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1#get-/facets/-facets-). See the [migration guide](https://developers.vtex.com/docs/guides/migrating-to-intelligent-search-api-v1).\r\n\r\n>⚠️ When possible, use the store's production domain in the URL (for example, `https://apiexamples.com/api/io/_v/api/intelligent-search`) for a better performance. This is particularly important for headless integrations. In case it's not possible to use the store's production URL, prefer using `https://{accountName}.vtexcommercestable.com.br/api/io/_v/api/intelligent-search`.\r\n\r\nIf using this option in a fully headless store with no store domain configured, follow these steps:\r\n1. Configure a domain by following the [Configuring the store domain](https://help.vtex.com/docs/tutorials/configuring-the-store-domain) guide.\r\n2. Send the `Host` header with the configured domain:\r\n```sh\r\ncurl --location 'https://{accountName}.vtexcommercestable.com.br/api/io/_v/api/intelligent-search/facets/' \\\r\n--header 'Accept: application/json' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Host: {configured domain}'\r\n```\r\n\r\n## Permissions\r\n\r\nThis endpoint does not require [authentication](https://developers.vtex.com/docs/guides/authentication) or [permissions](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).", "tags": [ "Product list page" ], "parameters": [ { "$ref": "#/components/parameters/facetsPath" }, { "$ref": "#/components/parameters/query" }, { "$ref": "#/components/parameters/locale" }, { "$ref": "#/components/parameters/hideUnavailableItems" }, { "in": "query", "name": "removeHiddenFacets", "description": "When `true`, hidden facets are omitted from the response.", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK \n\n List of facets for the given query.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Facets" }, "example": { "facets": [ { "values": [ { "id": "47", "quantity": 1, "name": "Clothing", "key": "category-2", "value": "clothing", "selected": false, "href": "shirt/blue/clothing?map=ft,color,category" } ], "type": "TEXT", "name": "Category", "hidden": false, "key": "category-2", "quantity": 1 }, { "values": [ { "quantity": 1, "name": "", "key": "price", "selected": false, "range": { "from": 45, "to": 50 } } ], "type": "PRICERANGE", "name": "Price", "hidden": false, "key": "price", "quantity": 1 }, { "values": [ { "id": "2000045", "quantity": 1, "name": "New Offers!!", "key": "brand", "value": "new-offers--", "selected": false, "href": "shirt/blue/new-offers--?map=ft,color,brand" } ], "type": "TEXT", "name": "Brand", "hidden": false, "key": "brand", "quantity": 1 }, { "values": [ { "id": "103", "quantity": 1, "name": "Blue", "key": "color", "value": "blue", "selected": true, "href": "shirt/blue/blue?map=ft,color,color" } ], "type": "TEXT", "name": "Color", "hidden": true, "key": "color", "quantity": 1 }, { "values": [ { "id": "25", "quantity": 1, "name": "Apparel & Accessories", "key": "category-1", "value": "apparel---accessories", "selected": false, "href": "shirt/blue/apparel---accessories?map=ft,color,department" } ], "type": "TEXT", "name": "Department", "hidden": false, "key": "category-1", "quantity": 1 }, { "values": [ { "id": "", "quantity": 1, "name": "Test", "key": "filter-test", "value": "test", "selected": false, "href": "shirt/blue/test?map=ft,color,filter-test" } ], "type": "TEXT", "name": "Filter Test", "hidden": false, "key": "filter-test", "quantity": 1 }, { "values": [ { "id": "48", "quantity": 1, "name": "Tops", "key": "category-3", "value": "tops", "selected": false, "href": "shirt/blue/tops?map=ft,color,subcategory" } ], "type": "TEXT", "name": "Subcategory", "hidden": false, "key": "category-3", "quantity": 1 } ], "sampling": false, "breadcrumb": [ { "name": "shirt", "href": "/shirt?map=ft" }, { "name": "Blue", "href": "/shirt/blue?map=ft,color" } ], "queryArgs": { "query": "shirt", "selectedFacets": [ { "key": "color", "value": "blue" }, { "key": "ft", "value": "shirt" } ] }, "translated": false } } } } } } }, "/pickup-point-availability/{facets}": { "servers": [ { "url": "https://{accountName}.{environment}.com.br/api/intelligent-search/v0", "description": "VTEX Intelligent Search server URL for pickup point availability.", "variables": { "accountName": { "default": "apiexamples", "description": "Name of the VTEX account. Used as part of the URL." }, "environment": { "description": "Environment to use. Used as part of the URL.", "enum": [ "vtexcommercestable" ], "default": "vtexcommercestable" } } } ], "get": { "summary": "Get pickup point availability for Delivery Promise", "description": "Retrieves the list of available pickup points with their IDs, distances, addresses, and business hours. This endpoint returns pickup points sorted by distance from the provided coordinates.\r\n\r\n>ℹ️ Migrate to [Intelligent Search API v1](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1) for HTTP caching and lower latency. The new endpoint is: `GET` [Get pickup point availability for Delivery Promise](https://developers.vtex.com/docs/api-reference/intelligent-search-api-v1#get-/pickup-point-availability/-facets-). See the [migration guide](https://developers.vtex.com/docs/guides/migrating-to-intelligent-search-api-v1).\r\n\r\n>⚠️ **Required facet:** Only the `tradePolicy` (trade policy/sales channel) facet is required. All product filters, including `productClusterIds`, are optional and can be provided as query parameters to narrow down the results. When no product filters are provided, all available pickup points for the trade policy will be returned.\r\n\r\n>ℹ️ This endpoint is designed for use in [Delivery Promise for headless stores](https://developers.vtex.com/docs/guides/delivery-promise-for-headless-stores) implementations. It provides the complete list of pickup points required as a mandatory dependency for the [Delivery Promise feature](https://help.vtex.com/en/docs/tutorials/delivery-promise-beta). The system displays all available pickup points within the 50 km radius configured in Checkout when customers select pickup in the header or a specific pickup point.\r\n\r\nYou can call this endpoint in two ways:\r\n\r\n- **With country and ZIP code:** Provide the country and ZIP code to retrieve pickup points based on location.\r\n- **With delivery zones and pickup point hashes:** Alternatively, provide pre-computed hashes (`deliveryZonesHash` and `pickupPointsHash`) for faster lookup.\r\n\r\n## Permissions\r\n\r\nThis endpoint does not require [authentication](https://developers.vtex.com/docs/guides/authentication) or [permissions](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).", "tags": [ "Delivery Promise" ], "parameters": [ { "$ref": "#/components/parameters/facetsPath" }, { "$ref": "#/components/parameters/query" }, { "$ref": "#/components/parameters/locale" }, { "in": "query", "name": "pickupPoint", "required": false, "description": "Pickup point ID to filter results to a specific pickup point.", "schema": { "type": "string" } }, { "in": "query", "name": "an", "required": true, "description": "Account name. The name of the VTEX account.", "schema": { "type": "string", "example": "apiexamples" } }, { "in": "query", "name": "coordinates", "required": false, "description": "Geographic coordinates in the format `longitude,latitude`. Used to calculate distance from pickup points and sort results by proximity. Required when using the country and ZIP code approach.", "schema": { "type": "string", "example": "-74.0060,40.7128" } }, { "in": "query", "name": "zip-code", "required": false, "description": "ZIP code or postal code. Required when using the country and ZIP code approach.", "schema": { "type": "string", "example": "10001" } }, { "in": "query", "name": "country", "required": false, "description": "Three-letter country code in [ISO 3166 ALPHA-3](https://www.iban.com/country-codes) format. Required when using the country and ZIP code approach.", "schema": { "type": "string", "example": "USA" } }, { "in": "query", "name": "deliveryZonesHash", "required": false, "description": "Pre-computed hash for delivery zones. Used for faster lookup. Required when using the hashes approach (alternative to country and ZIP code). Obtain this value from the `POST` [Search delivery zones](https://developers.vtex.com/docs/api-reference/delivery-promise-suggestions-api#post-/api/logistics-shipping/delivery-zones/_search/v2) endpoint of the Delivery Promise Suggestions API.", "schema": { "type": "string", "example": "abc123def456" } }, { "in": "query", "name": "pickupPointsHash", "required": false, "description": "Pre-computed hash for pickup points. Used for faster lookup. Required when using the hashes approach (alternative to country and ZIP code). Obtain this value from the `POST` [Search pickup points](https://developers.vtex.com/docs/api-reference/delivery-promise-suggestions-api#post-/api/logistics-shipping/pickuppoints/_search) endpoint of the Delivery Promise Suggestions API.", "schema": { "type": "string", "example": "xyz789ghi012" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "description": "Pickup points availability response.", "properties": { "pickupPointDistances": { "type": "array", "description": "List of available pickup points sorted by distance.", "items": { "type": "object", "description": "Pickup point information.", "properties": { "pickupId": { "type": "string", "description": "Unique identifier for the pickup point." }, "pickupName": { "type": "string", "description": "Name of the pickup point." }, "distance": { "type": "number", "description": "Distance from the provided coordinates to the pickup point, in kilometers." }, "isActive": { "type": "boolean", "description": "Indicates whether the pickup point is currently active (`true`) or not (`false`)." }, "address": { "type": "object", "description": "Address details of the pickup point.", "properties": { "street": { "type": "string", "description": "Street name of the pickup point address." }, "number": { "type": "string", "description": "Street number of the pickup point address." }, "neighborhood": { "type": "string", "description": "Neighborhood of the pickup point address." }, "city": { "type": "string", "description": "City of the pickup point address." }, "state": { "type": "string", "description": "State or province of the pickup point address." }, "postalCode": { "type": "string", "description": "Postal code or ZIP code of the pickup point address." } } }, "businessHours": { "type": "array", "description": "Operating hours for each day of the week.", "items": { "type": "object", "description": "Business hours for a specific day.", "properties": { "dayOfWeek": { "type": "integer", "description": "Day of the week represented as a number (0 = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday, 6 = Saturday).", "enum": [ 0, 1, 2, 3, 4, 5, 6 ] }, "openingTime": { "type": "string", "description": "Opening time in 24-hour format with seconds (HH:MM:SS)." }, "closingTime": { "type": "string", "description": "Closing time in 24-hour format with seconds (HH:MM:SS)." } } } } } } } } }, "example": { "pickupPointDistances": [ { "pickupId": "pickup_store_001", "distance": 5.5, "pickupName": "Store North Shopping Center", "isActive": true, "address": { "city": "City Name", "neighborhood": "North District", "number": "1000", "postalCode": "12345-678", "street": "Main Avenue", "state": "ST" }, "businessHours": [ { "dayOfWeek": 0, "openingTime": "10:00:00", "closingTime": "18:00:00" }, { "dayOfWeek": 1, "openingTime": "09:00:00", "closingTime": "20:00:00" }, { "dayOfWeek": 2, "openingTime": "09:00:00", "closingTime": "20:00:00" }, { "dayOfWeek": 3, "openingTime": "09:00:00", "closingTime": "20:00:00" }, { "dayOfWeek": 4, "openingTime": "09:00:00", "closingTime": "20:00:00" }, { "dayOfWeek": 5, "openingTime": "09:00:00", "closingTime": "20:00:00" }, { "dayOfWeek": 6, "openingTime": "09:00:00", "closingTime": "20:00:00" } ] }, { "pickupId": "pickup_store_002", "distance": 12.3, "pickupName": "Store Downtown", "isActive": true, "address": { "city": "City Name", "neighborhood": "Downtown", "number": "500", "postalCode": "12345-000", "street": "Central Street", "state": "ST" }, "businessHours": [ { "dayOfWeek": 0, "openingTime": "12:00:00", "closingTime": "18:00:00" }, { "dayOfWeek": 1, "openingTime": "08:00:00", "closingTime": "19:00:00" }, { "dayOfWeek": 2, "openingTime": "08:00:00", "closingTime": "19:00:00" }, { "dayOfWeek": 3, "openingTime": "08:00:00", "closingTime": "19:00:00" }, { "dayOfWeek": 4, "openingTime": "08:00:00", "closingTime": "19:00:00" }, { "dayOfWeek": 5, "openingTime": "08:00:00", "closingTime": "19:00:00" }, { "dayOfWeek": 6, "openingTime": "09:00:00", "closingTime": "17:00:00" } ] } ] } } } } } } } }, "components": { "parameters": { "query": { "in": "query", "name": "query", "description": "Search term. It can contain any character.\r\n\r\nThis parameter is named `query` in the API. The short form **`q`** is an alias for `query` and has the same semantics.\r\n\r\nYou can search for products or SKUs using specific ID types by adding search parameters (query) at the end of the store URL, respecting one of the following structures:\r\n\r\n- **Single item search:** `?query=[id type]:[id_1]`. Example: `?query=product:98765`\r\n- **Multiple items search:** `?query=[id type]:[id_1];[id_2];[id_3]`. Example: `?query=product:98765;98743`\r\n\r\n>⚠️ All searched IDs should be of the same type.\r\n\r\n## Search by ID\r\n\r\nOn the Intelligent Search API, search products or SKUs by ID by sending the value in the `query` or `q` query parameter on requests such as `/product_search/{facets}`. The `{facets}` path must include the required `trade-policy` facet and any optional filters.\r\n\r\n- **Product ID:** `.../product_search/trade-policy/1?query=product:98765` or `.../product_search/trade-policy/1?query=product.id:98765`.\r\n- **SKU ID:** `.../product_search/trade-policy/1?query=sku.id:12345` or `.../product_search/trade-policy/1?query=sku:12345`.\r\n\r\n## Supported ID types\r\n\r\nThe possible value types for the ID segment are `product.id`, `sku.id`, `sku.ean`, `sku.reference`, `product.link`, or `id` (ProductID, ProductRefID, SKUID, SKURefID, and EAN).\r\n\r\n| ID Type | Query format | Example |\r\n| - | - | - |\r\n| Product ID | `?query=product:` or `?query=product.id:` | `?query=product:98765` |\r\n| SKU ID | `?query=sku:` or `?query=sku.id:` | `?query=sku.id:12345` |\r\n| Reference ID | `?query=sku.reference:` | `?query=sku.reference:REF123` |\r\n| EAN | `?query=sku.ean:` | `?query=sku.ean:7891234567890` |\r\n| Slug | `?query=product.link:` | `?query=product.link:blue-shirt` |", "schema": { "type": "string", "example": "shirt" } }, "facetsPath": { "in": "path", "name": "facets", "required": true, "description": "## Format\r\n\r\nThe `facets` parameter follows the format: `/${facetKey1}/${facetValue1}/${facetKey2}/${facetValue2}/.../${facetKeyN}/${facetValueN}`.\r\n\r\n>⚠️ **Required:** Only the `trade-policy` facet is mandatory. All other facets are optional filters.\r\n\r\nThe order in which the terms appear is not relevant to the search.\r\n\r\nYou can also repeat the same `facetKey` several times for different values. For example: `category-1/shoes/color/blue/color/red/color/yellow`.\r\n\r\n## Filter combinations\r\n\r\nWhen shoppers apply filters, the API combines them according to the following rules:\r\n\r\n- **Facets of the same type → OR (union):** When multiple values of the same facet are applied, the API returns the union of all products matching any of those values.\r\n- **Facets of different types → AND (intersection):** When different facet types are combined, the API returns only the products that satisfy all selected facet conditions simultaneously.\r\n\r\n## Negative filters (NOT operator)\r\n\r\nTo exclude a facet value, prefix the value with **`not:`** in the path segment: `/{facetKey}/not:{facetValue}/`. For example, `color/blue/size/not:42` keeps color blue and excludes size 42. Use the same `not:` prefix with the facet keys and values configured in your catalog. This supports use cases such as including products in one collection but excluding another.\r\n\r\nThe NOT operator excludes specific values. The OR and AND rules in **Filter combinations** still describe how multiple positive facet selections combine.\r\n\r\n## Available filters\r\n\r\nThe `facets` parameter allows the following filters:\r\n\r\n| `facetKey` | Description | Example |\r\n| - | - | - |\r\n| `trade-policy` **(required)** | Filter by trade policy (sales channel) using `trade-policy/{tradePolicyId}`. Some integrations use the `salesChannel` query string for the same purpose when supported. | `trade-policy/2` |\r\n| `category-${n}` *(optional)* | Filter the search by category, where n represents the category tree level (1 = department, 2 = category, 3 = subcategory, and so on). Declare the full path from the root level through every parent down to the level you need. For example, using only `category-2/shirts` without the `category-1/...` segment is incorrect. | `category-1/clothing/category-2/shirts` |\r\n| `brand` *(optional)* | Filter by brand slug or identifier. | `brand/acme` |\r\n| `{specificationName}` *(optional)* | Filter by a catalog specification exposed as a search filter, using `{specificationName}/{specificationValue}` (for example `color/blue`). | `color/blue` |\r\n| `productClusterIds` *(optional)* | Filter by collection ID. | `productClusterIds/262` |\r\n| `price` *(optional)* | Filter by price range `${minPrice}:${maxPrice}`. | `trade-policy/1/color/blue/price/100:500` (with `?query=shirt` on the full URL when using a text query). |", "example": "category-1/clothing/category-2/shirt/category-3/man", "schema": { "nullable": true, "type": "string", "default": "/", "example": "color/blue" } }, "sponsoredCount": { "in": "query", "name": "sponsoredCount", "description": "Amount of sponsored products to be returned. Applicable only to merchants using [VTEX Ads](https://developers.vtex.com/docs/guides/vtex-ads).", "schema": { "type": "string", "example": "5" } }, "advertisementPlacement": { "in": "query", "name": "advertisementPlacement", "description": "Advertisement placement. Applicable only to merchants using [VTEX Ads](https://developers.vtex.com/docs/guides/vtex-ads).", "schema": { "type": "string", "example": "top_search", "enum": [ "top_search", "middle_search", "search_shelf", "cart_shelf", "plp_shelf", "autocomplete", "homepage" ] } }, "repeatSponsoredProducts": { "in": "query", "name": "repeatSponsoredProducts", "description": "Defines if sponsored products can appear again as organic listings. When set as `true`, it allows the same product to be shown as both sponsored and organic. When set as `false`, it removes duplicates, ensuring a sponsored product does not appear again as organic. Applicable only to merchants using [VTEX Ads](https://developers.vtex.com/docs/guides/vtex-ads).", "schema": { "type": "boolean", "example": true } }, "locale": { "in": "query", "name": "locale", "description": "Indicates the target language as a BCP 47 language code. The Intelligent Search must have indexed the account in the target language.", "example": "en-US", "schema": { "type": "string", "nullable": true } }, "simulationBehavior": { "in": "query", "name": "simulationBehavior", "schema": { "type": "string", "enum": [ "default", "skip", "only1P", "only3P", "regionalize1p" ], "nullable": true, "default": "default" }, "description": "Defines the simulation behavior.\n\n * `default` - Calls the simulation for every single seller.\n * `skip` - Never calls the simulation.\n * `only1P` - Only calls the simulation for first-party sellers.\n * `only3P` - Only calls the simulation for third-party sellers.\n * `regionalize1p` - Calls regionalized simulation for first-party sellers only." }, "hideUnavailableItems": { "in": "query", "name": "hideUnavailableItems", "description": "Defines whether the result should hide unavailable items (`true`), or not (`false`). When set to `true`, only products with stock are returned; when set to `false`, the API includes unavailable products as well. A product is considered unavailable when `availableQuantity = 0`, while `availableQuantity = 10000` indicates that the product is available. Retailers may choose to show unavailable items for commercial reasons (for example, to signal that they offer those products even if temporarily out-of-stock). The recommended default is `true`.", "schema": { "type": "boolean", "default": false } }, "fuzzy": { "in": "query", "name": "fuzzy", "description": "Indicates how the search engine will correct misspelled words by using fuzzy logic. It can be a number representing the max number of misspelled letters, or the string `auto` suggesting that the search-engine should set this value by itself.", "schema": { "type": "string" } }, "operator": { "in": "query", "name": "operator", "description": "Indicates how the search-engine will deal with the fullText if there is more than one word. Set `and` if the returned products must have all the words in its metadata or `or` otherwise.", "schema": { "type": "string", "enum": [ "and", "or" ] } } }, "schemas": { "AutocompleteSearchSuggestions": { "type": "object", "description": "Response body object.", "properties": { "searches": { "type": "array", "description": "List of suggested facets and terms.", "items": { "type": "object", "description": "Suggested facet or term.", "properties": { "term": { "type": "string", "description": "Search term." }, "count": { "type": "number", "description": "Number of times the term was searched." }, "attributes": { "type": "array", "nullable": true, "description": "List of facets in which the term can be searched.", "items": { "type": "object", "description": "Facet information.", "properties": { "key": { "type": "string", "description": "Facet key." }, "value": { "type": "string", "description": "Facet value." }, "labelKey": { "type": "string", "description": "Human-readable format of the facet key." }, "labelValue": { "type": "string", "description": "Human-readable format of the facet value." } } } } } } } } }, "TopSearches": { "type": "object", "description": "Response body object.", "properties": { "searches": { "type": "array", "description": "List of the 10 most searched terms in the past 14 days.", "minItems": 10, "maxItems": 10, "items": { "type": "object", "description": "Term information.", "properties": { "term": { "type": "string", "description": "Search term." }, "count": { "type": "number", "description": "Number of times the term was searched." } } } } } }, "Correction": { "type": "object", "description": "Response body object.", "properties": { "correction": { "type": "object", "description": "Object that indicates if the term was misspelled and suggests a possible correction.", "properties": { "misspelled": { "type": "boolean", "description": "Defines whether the term was misspelled (`true`) or not (`false`)." }, "correction": { "type": "boolean", "description": "Defines whether the API was able to suggest a correction (`true`) or not (`false`)." }, "text": { "type": "string", "description": "The corrected term. If the API was not able to correct the term, it will show the original search term." }, "highlighted": { "type": "string", "description": "The same as `text`, but it highlights the corrected word. Useful when there is more than one word." } } } } }, "Banners": { "type": "object", "description": "Response body object.", "properties": { "banners": { "type": "array", "description": "List of banners.", "items": { "type": "object", "description": "Banner information.", "properties": { "id": { "type": "string", "description": "Banner ID." }, "name": { "type": "string", "description": "Banner name." }, "area": { "type": "string", "description": "Banner area, which can be a number between 1 and 4, to be used in the store's [Banner](https://developers.vtex.com/docs/guides/vtex-search-banner) block." }, "html": { "type": "string", "description": "Banner HTML, which can be an image or text." } } } } } }, "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." } } } } } }, "ProductSearch": { "type": "object", "description": "Response body object.", "properties": { "products": { "type": "array", "description": "List of active products.", "items": { "$ref": "#/components/schemas/Product" } }, "recordsFiltered": { "type": "number", "description": "Total number of filtered active products." }, "correction": { "type": "object", "description": "Object with information of misspelled terms.", "properties": { "misspelled": { "type": "boolean", "description": "Defines whether the term is misspelled (`true`) or not (`false`)." } } }, "fuzzy": { "type": "string", "description": "Indicates how the search engine corrected the misspelled word by using fuzzy logic. It can be a number representing the max number of misspelled letters, or the string `auto` suggesting that the search-engine should set this value by itself." }, "operator": { "type": "string", "enum": [ "and", "or" ], "description": "Indicates how the search-engine dealt with the fullText when there is more than one word.\n * `and` - It means that the products contains all the words in the query.\n * `or` - It means that the results will contain at least one word from the original search query. If `and` was not possible, `or` will be the fallback." }, "translated": { "type": "boolean", "description": "Defines whether the list of products was translated by Intelligent Search (`true`) or not (`false`)." }, "redirect": { "type": "string", "nullable": true, "description": "Redirect URL when the query maps to a configured redirect rule. Present only when a redirect applies." }, "options": { "type": "object", "description": "Search options available for the query.", "properties": { "sorts": { "type": "array", "description": "Available sort options.", "items": { "type": "object", "description": "Sort option entry.", "additionalProperties": true } }, "counts": { "type": "array", "description": "Available product count options.", "items": { "type": "object", "description": "Product count option entry.", "additionalProperties": true } }, "deliveryPromisesEnabled": { "type": "boolean", "description": "Whether Delivery Promise features are enabled for this query." } } }, "searchId": { "type": "string", "description": "Unique identifier for the search session. Use this value when sending search analytics events." }, "pagination": { "type": "object", "description": "Pagination information.", "properties": { "count": { "description": "Page count.", "type": "number" }, "current": { "description": "Information about the current page.", "type": "object", "properties": { "index": { "description": "Page index.", "type": "number" }, "proxyUrl": { "description": "Proxy URL.", "type": "string" } } }, "before": { "description": "Information about the previous pages.", "type": "array", "items": { "description": "Page information.", "type": "object", "properties": { "index": { "description": "Page index.", "type": "number" }, "proxyUrl": { "description": "Proxy URL.", "type": "string" } } } }, "after": { "description": "Information about the following pages.", "type": "array", "items": { "description": "Page information.", "type": "object", "properties": { "index": { "description": "Page index.", "type": "number" }, "proxyUrl": { "description": "Proxy URL.", "type": "string" } } } }, "perPage": { "description": "Amount of results per page.", "type": "number" }, "next": { "description": "Information about the next page.", "type": "object", "properties": { "index": { "description": "Page index.", "type": "number" }, "proxyUrl": { "description": "Proxy URL.", "type": "string" } } }, "previous": { "description": "Information about the previous page.", "type": "object", "properties": { "index": { "description": "Page index.", "type": "number" } } }, "first": { "description": "Information about the first page.", "type": "object", "properties": { "index": { "description": "Page index.", "type": "number" } } }, "last": { "description": "Information about the last page.", "type": "object", "properties": { "index": { "description": "Page index.", "type": "number" } } } } } } }, "Product": { "type": "object", "description": "Product information.", "properties": { "cacheId": { "description": "Cache ID.", "type": "string" }, "productId": { "description": "Product unique identifier.", "type": "string" }, "description": { "description": "Product description.", "type": "string" }, "productName": { "description": "Product name.", "type": "string" }, "productReference": { "description": "Product reference code.", "type": "string" }, "linkText": { "description": "Product text link.", "type": "string" }, "brand": { "description": "Brand name.", "type": "string" }, "brandId": { "description": "Brand unique identifier.", "type": "number" }, "link": { "description": "Product slug in the store.", "type": "string" }, "categories": { "description": "Category path.", "type": "array", "items": { "description": "Category name.", "type": "string" } }, "categoryId": { "description": "Category unique identifier.", "type": "string" }, "categoriesIds": { "description": "List of category IDs in the corresponding category path.", "type": "array", "items": { "description": "Category ID.", "type": "string" } }, "priceRange": { "description": "Price range information.", "type": "object", "properties": { "sellingPrice": { "description": "Selling price.", "type": "object", "properties": { "highPrice": { "description": "Highest selling price.", "type": "number" }, "lowPrice": { "description": "Lowest selling price.", "type": "number" } } }, "listPrice": { "description": "List price information.", "type": "object", "properties": { "highPrice": { "description": "Highest list price.", "type": "number" }, "lowPrice": { "description": "Lowest list price.", "type": "number" } } } } }, "specificationGroups": { "description": "Specification groups information.", "type": "array", "items": { "description": "Specification group information.", "type": "object", "properties": { "originalName": { "description": "Speficiation group original name.", "type": "string" }, "name": { "description": "Specification group name.", "type": "string" }, "specifications": { "description": "List of specifications.", "type": "array", "items": { "description": "Specification information.", "type": "object", "properties": { "originalName": { "description": "Specification original name.", "type": "string" }, "name": { "description": "Specification name.", "type": "string" }, "values": { "description": "Specification values.", "type": "array", "items": { "description": "Specification value.", "type": "string" } } } } } } } }, "skuSpecifications": { "description": "SKU specifications.", "type": "array", "items": { "description": "SKU specification information.", "type": "object", "properties": { "field": { "description": "SKU specification field information.", "type": "object", "properties": { "name": { "description": "SKU specification field name.", "type": "string" }, "originalName": { "description": "SKU specification field original name.", "type": "string" } } }, "values": { "description": "SKU specification field values.", "type": "array", "items": { "description": "SKU specification value.", "type": "object", "properties": { "name": { "description": "SKU specification value name.", "type": "string" }, "originalName": { "description": "SKU specification value original name.", "type": "string" } } } } } } }, "productClusters": { "description": "Product clusters information.", "type": "array", "items": { "description": "Product cluster information.", "type": "object", "properties": { "id": { "description": "Product cluster unique identifier.", "type": "string" }, "name": { "description": "Product cluster name.", "type": "string" } } } }, "clusterHighlights": { "description": "Cluster highlights information.", "type": "array", "items": { "description": "Cluster highlight information.", "type": "object", "properties": { "id": { "description": "Product cluster unique identifier.", "type": "string" }, "name": { "description": "Product cluster name.", "type": "string" } } } }, "properties": { "description": "Product properties.", "type": "array", "items": { "description": "Product property.", "type": "object", "properties": { "name": { "description": "Property name.", "type": "string" }, "originalName": { "description": "Property original name.", "type": "string" }, "values": { "description": "Property values.", "type": "array", "items": { "description": "Property value.", "type": "string" } } } } }, "items": { "description": "Information about the related SKUs.", "type": "array", "items": { "description": "SKU information.", "type": "object", "additionalProperties": true, "properties": { "sellers": { "description": "List of sellers.", "type": "array", "items": { "description": "Seller information.", "type": "object", "properties": { "sellerId": { "description": "Seller unique identifier.", "type": "string" }, "sellerName": { "description": "Seller name.", "type": "string" }, "addToCartLink": { "description": "Add to cart link.", "type": "string" }, "sellerDefault": { "description": "Default seller.", "type": "boolean" }, "commertialOffer": { "description": "Commercial offer information.", "type": "object", "properties": { "DeliverySlaSamplesPerRegion": { "description": "Delivery SLA samples per region.", "type": "object", "additionalProperties": true }, "DeliverySlaSamples": { "description": "Delivery SLA samples.", "type": "array", "items": { "type": "object", "description": "Delivery SLA sample.", "properties": { "DeliverySlaPerTypes": { "type": "array", "description": "Delivery SLA per types.", "items": { "type": "object", "description": "Delivery SLA information.", "properties": { "Price": { "type": "integer", "description": "Price of the delivery SLA type in cents." }, "TypeName": { "type": "string", "description": "SLA type name." }, "EstimatedTimeSpanToDelivery": { "type": "integer", "description": "Estimated delivery time span." } } } }, "Region": { "type": "string", "description": "Region ID.", "nullable": true } } } }, "AvailableQuantity": { "description": "Indicates if the item is available. The value is 10000 when the item is considered available, and 0 when the item is not available.", "type": "number" }, "discountHighlights": { "description": "Discount highlights.", "type": "array", "items": { "type": "object", "description": "Discount highlight information.", "properties": { "name": { "type": "string", "description": "Discount highlight name." } } } }, "Installments": { "description": "Installments information.", "type": "array", "items": { "description": "Installment information.", "type": "object", "properties": { "PaymentSystemName": { "description": "Payment system name.", "type": "string" }, "Value": { "description": "Total value.", "type": "number" }, "InterestRate": { "description": "Interest rate.", "type": "number" }, "TotalValuePlusInterestRate": { "description": "Total value plus interest rate.", "type": "number" }, "NumberOfInstallments": { "description": "Number of installments.", "type": "number" }, "Name": { "description": "Payment condition name.", "type": "string" }, "PaymentSystemGroupName": { "description": "Payment system group.", "type": "string" } } } }, "Price": { "description": "Price of the item.", "type": "number" }, "ListPrice": { "description": "List price of the item.", "type": "number" }, "spotPrice": { "description": "The special promotional price available under specific conditions, such as discounts for upfront payments or specific payment methods. It may differ from the `sellingPrice`.\n\n\nOne common example is when a discount is applied only under certain conditions, such as a discount for using a specific payment method (e.g. 5% off for payments made with a VISA card). In this case, the `spotPrice` would reflect this discounted price, while the `sellingPrice` would show the regular price if the payment method does not qualify for the discount.", "type": "number" }, "taxPercentage": { "description": "Tax percentage.", "type": "number" }, "PriceWithoutDiscount": { "description": "Price with discount.", "type": "number" }, "Tax": { "description": "Tax value.", "type": "number" }, "GiftSkuIds": { "description": "List of SKU gifts IDs.", "type": "array", "items": { "type": "string", "description": "SKU gift unique identifier." } }, "BuyTogether": { "description": "Array of other items that can be bought together with the item in question.", "type": "array", "items": { "type": "string", "description": "Unique identifier of each SKU that can be bought together." } }, "ItemMetadataAttachment": { "description": "Item metadata attachment.", "type": "array", "items": { "description": "Item metadata attachment information.", "type": "object", "properties": { "Name": { "description": "SKU name.", "type": "string" }, "NameComplete": { "description": "Complete name of the product combined with the SKU name.", "type": "string" }, "MainImage": { "description": "Main image URL.", "type": "string" }, "BrandName": { "description": "Brand name.", "type": "string" }, "CategoryId": { "description": "Category unique identifier.", "type": "number" }, "ProductId": { "description": "Product unique identifier.", "type": "number" }, "id": { "description": "SKU unique identifier.", "type": "string" }, "seller": { "description": "Seller unique identifier.", "type": "string" }, "assemblyOptions": { "description": "Assembly options attachment.", "type": "array", "items": { "description": "Assembly options attachment information.", "type": "object", "properties": { "id": { "description": "Attachment unique identifier.", "type": "string" }, "name": { "description": "Attachment name.", "type": "string" }, "required": { "description": "Defines whether the attachment is required (`true`) or not (`false`).", "type": "boolean" }, "inputValues": { "description": "Input values information.", "type": "object", "additionalProperties": true } } } } } } }, "RewardValue": { "description": "Credit that the customer receives when finalizing an order that includes the SKU. By filling this field out with `1`, the customer receives credit on the site in the selected currency, e.g. U$ 1.", "type": "number" }, "PriceValidUntil": { "description": "Date until the price is valid, in ISO 8601 format.", "type": "string" }, "GetInfoErrorMessage": { "description": "Get info error message.", "type": "string", "nullable": true }, "CacheVersionUsedToCallCheckout": { "description": "Cache version used to call Checkout.", "type": "string" }, "teasers": { "description": "Teasers information.", "type": "array", "items": { "description": "Teaser information.", "type": "object", "properties": { "name": { "description": "Promotion name.", "type": "string" }, "conditions": { "description": "Conditions for the promotion the be valid.", "type": "object", "properties": { "minimumQuantity": { "description": "Minimum quantity of the item for the promotion to be valid.", "type": "number" }, "parameters": { "description": "Condition parameters.", "type": "array", "items": { "description": "Condition parameters.", "type": "object", "properties": { "name": { "description": "Condition name.", "type": "string" }, "value": { "description": "Condition value.", "type": "string" } } } } } }, "effects": { "description": "Promotion effects.", "type": "object", "properties": { "parameters": { "description": "Effects parameters.", "type": "array", "items": { "description": "Effect parameters.", "type": "object", "properties": { "name": { "description": "Effect name.", "type": "string" }, "value": { "description": "Effect value.", "type": "string" } } } } } } } } } } } } } }, "images": { "description": "SKU images information.", "type": "array", "items": { "description": "SKU image information.", "type": "object", "properties": { "imageId": { "description": "Image unique identifier.", "type": "string" }, "cacheId": { "description": "Cache ID.", "type": "string" }, "imageTag": { "description": "HTML tag for the selected image.", "type": "string" }, "imageLabel": { "description": "Image label.", "type": "string" }, "imageText": { "description": "Image text.", "type": "string" }, "imageUrl": { "description": "Image URL.", "type": "string" } } } }, "itemId": { "description": "SKU unique identifier.", "type": "string" }, "name": { "description": "SKU name.", "type": "string" }, "nameComplete": { "description": "Combination of the product name with the SKU name.", "type": "string" }, "complementName": { "description": "Complement name.", "type": "string" }, "referenceId": { "description": "SKU alternate IDs.", "type": "array", "items": { "description": "Alternate ID information.", "type": "object", "properties": { "Key": { "description": "Alternate ID key.", "type": "string" }, "Value": { "description": "Alternate ID value.", "type": "string" } } } }, "measurementUnit": { "description": "Measurement unit. This field should only be used when it is necessary to convert the unit of measure for sale. For example, if a product is sold in boxes, but customers want to buy per square meter (m²). In common cases, use `'un'`.", "type": "string" }, "unitMultiplier": { "description": "Multiple number of SKU. If the multiplier is 5.0000, the product can be added in multiple quantities of 5, 10, 15, 20, onward.", "type": "number" }, "variations": { "description": "Variations.", "type": "array", "items": { "description": "Variation information.", "type": "object", "properties": { "name": { "description": "Variation name.", "type": "string" }, "values": { "description": "Variation values.", "type": "array", "items": { "description": "Variation value.", "type": "string" } } } } }, "ean": { "description": "EAN value.", "type": "string" }, "modalType": { "description": "Links an unusual type of SKU that needs special transportation, such as meat, glass, or a mattress, to a carrier specialized in delivering it. This field should be filled in with the name of the modal (e.g. \"Chemicals\" or \"Refrigerated products\"). To learn more about this feature, read our articles [How the modal works](https://help.vtex.com/en/tutorial/how-does-the-modal-work--tutorials_125) and [Setting up modal for carriers](https://help.vtex.com/en/tutorial/configure-modal--3jhLqxuPhuiq24UoykCcqy).", "type": "string" }, "videos": { "description": "SKU videos.", "type": "array", "items": { "type": "string", "description": "Video URL." } }, "attachments": { "description": "Array with information about the attachments that are related to the SKU.", "type": "array", "items": { "type": "object", "description": "Attachment information.", "properties": { "id": { "type": "string", "description": "Attachment unique identifier." }, "name": { "type": "string", "description": "Attachment name." }, "required": { "type": "boolean", "description": "Defines if the attachment is required (`true`) or not (`false`)." }, "domainValues": { "type": "array", "description": "Attachment domain values.", "items": { "type": "object", "description": "Attachment information.", "properties": { "FieldName": { "type": "string", "description": "Attachment name." }, "DomainValues": { "type": "string", "description": "Attachment value." } } } } } } }, "isKit": { "description": "Defines whether the SKU is made up of one or more SKUs (part of a kit) (`true`) or not (`false`). Must be enabled if you are adding a kit. Once activated, this definition cannot be reverted.", "type": "boolean" } } } }, "releaseDate": { "description": "Release date.", "type": "number" }, "origin": { "description": "Origin of products in the trade policy.", "type": "string" } } }, "Facets": { "type": "object", "description": "Response body object.", "properties": { "facets": { "type": "array", "description": "List of facets.", "items": { "type": "object", "description": "Facet information.", "properties": { "values": { "type": "array", "description": "Possible values.", "items": { "type": "object", "description": "Value information.", "properties": { "id": { "type": "string", "description": "Value ID." }, "quantity": { "type": "number", "description": "Number of resulting products." }, "name": { "type": "string", "description": "Human-readable format of the facet value." }, "key": { "type": "string", "description": "Facet key." }, "value": { "type": "string", "description": "Facet value." }, "selected": { "type": "boolean", "description": "Defines whether the value is selected (`true`) or not (`false`)." }, "href": { "type": "string", "description": "Query URL." } } } }, "type": { "type": "string", "description": "Facet type, which can be:\n\n - `TEXT`: The value is a simple text.\n - `PRICERANGE`: The value contains the property `range` representing the minimum and the maximum price for the query.\n - `DELIVERY`: The value represents a delivery option. Only appears in searches using [Delivery Promise](https://help.vtex.com/docs/tutorials/delivery-promise-beta).", "enum": [ "TEXT", "PRICERANGE", "DELIVERY" ] }, "name": { "type": "string", "description": "Human-readable format of the facet key." }, "hidden": { "type": "boolean", "description": "Defines whether the client-side should hide the facet (`true`) or not (`false`)." }, "key": { "type": "string", "description": "Facet key." }, "quantity": { "type": "number", "description": "Number of possible values." } } } }, "sampling": { "type": "boolean", "description": "Indicates whether there was sampling in the aggregation of facets or not. In search results that have many products, only the first 30000 will be aggregated to avoid performance issues." }, "breadcrumb": { "type": "array", "description": "Generated breadcrumb for the given query.", "items": { "type": "object", "description": "Breadcrumb information.", "properties": { "name": { "type": "string", "description": "Human-readable format of the facet key." }, "href": { "type": "string", "description": "Query link." } } } }, "queryArgs": { "type": "object", "description": "Term and facets used in the query.", "properties": { "query": { "type": "string", "description": "Search term used in the query." }, "selectedFacets": { "type": "array", "description": "Facets used in the query.", "items": { "type": "object", "description": "Selected facet information.", "properties": { "key": { "type": "string", "description": "facet key." }, "value": { "type": "string", "description": "facet value." } } } } } }, "translated": { "type": "boolean", "description": "Defines whether the facets were translated by Intelligent Search (`true`) or not (`false`)." } } } } }, "tags": [ { "name": "Autocomplete" }, { "name": "Product list page" }, { "name": "Delivery Promise" } ] }