{"section":"announcements","requestedLocale":"en","requestedSlug":"2022-02-18-search-resolve-hides-number-product-stock","locale":"en","slug":"2022-02-18-search-resolve-hides-number-product-stock","path":"docs/en/announcements/2022/february/2022-02-18-search-resolve-hides-number-product-stock.md","branch":"main","content":"We have updated the [`search-resolver@0.x`](https://github.com/vtex-apps/search-resolver) API, an application necessary for the operation of the store search, to hide sensitive data related to the store's inventory. As of 3/20/22, the number of products in stock will no longer be displayed by [VTEX Search GraphQL](https://github.com/vtex-apps/search-graphql).\n\nStores using [VTEX Intelligent Search](/en/docs/tracks/overview-intelligent-search) will not be affected.\n\n## What has changed?\n\nWe have removed the option of displaying the exact number of products in a store's inventory via `search-resolver@0.x` for customers using VTEX native search. This field will now be omitted from the response received by VTEX Search GraphQL.\n\nFor more details, see our [release note](https://developers.vtex.com/vtex-developer-docs/changelog/update-on-search-resolver0x-api-response) about this update.\n\n## Why did we make this change?\n\nPreviously, you could see the number of items in stock through the `search-resolver@0.x` API. However, since inventory data is sensitive and the API is public, we decided to hide this information.\n\n## What needs to be done?\n\nNo action is needed. The change will be automatically implemented.   \n\nIf you use this data in your store (to indicate that a product is running out of stock, for example) you need to contact [our Support](https://support.vtex.com/hc/en-us/requests) to keep displaying this information.\n\n> ⚠️ Please note that if the store decides to display the number of products in stock, this information will be public and can be accessed using [VTEX Search GraphQL](https://github.com/vtex-apps/search-graphql).\n</div>"}