--- title: SearchUnavailableProductsType - Storefront API description: Specifies whether to display results for unavailable products. api_version: 2025-07 api_name: storefront type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/2025-07/enums/searchunavailableproductstype md: https://shopify.dev/docs/api/storefront/2025-07/enums/searchunavailableproductstype.md --- # Search​Unavailable​Products​Type enum Specifies whether to display results for unavailable products. ## Valid values * HIDE Exclude unavailable products. * LAST Show unavailable products after all other matching results. This is the default. * SHOW Show unavailable products in the order that they're found. *** ## Fields * [Query​Root.predictiveSearch(unavailableProducts)](https://shopify.dev/docs/api/storefront/2025-07/objects/QueryRoot#field-QueryRoot.fields.predictiveSearch.arguments.unavailableProducts) ARGUMENT The entry point for all Storefront API queries. Provides access to shop resources including products, collections, carts, and customer data, as well as content like articles and pages. This query acts as the public, top-level type from which all queries must start. Use individual queries like [`product`](https://shopify.dev/docs/api/storefront/current/queries/product) or [`collection`](https://shopify.dev/docs/api/storefront/current/queries/collection) to fetch specific resources by ID or handle. Use plural queries like [`products`](https://shopify.dev/docs/api/storefront/current/queries/products) or [`collections`](https://shopify.dev/docs/api/storefront/current/queries/collections) to retrieve paginated lists with optional filtering and sorting. The [`search`](https://shopify.dev/docs/api/storefront/current/queries/search) and [`predictiveSearch`](https://shopify.dev/docs/api/storefront/current/queries/predictiveSearch) queries enable storefront search functionality. Explore queries interactively with the [GraphiQL explorer and sample query kit](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/api-exploration). * [Query​Root.search(unavailableProducts)](https://shopify.dev/docs/api/storefront/2025-07/objects/QueryRoot#field-QueryRoot.fields.search.arguments.unavailableProducts) ARGUMENT The entry point for all Storefront API queries. Provides access to shop resources including products, collections, carts, and customer data, as well as content like articles and pages. This query acts as the public, top-level type from which all queries must start. Use individual queries like [`product`](https://shopify.dev/docs/api/storefront/current/queries/product) or [`collection`](https://shopify.dev/docs/api/storefront/current/queries/collection) to fetch specific resources by ID or handle. Use plural queries like [`products`](https://shopify.dev/docs/api/storefront/current/queries/products) or [`collections`](https://shopify.dev/docs/api/storefront/current/queries/collections) to retrieve paginated lists with optional filtering and sorting. The [`search`](https://shopify.dev/docs/api/storefront/current/queries/search) and [`predictiveSearch`](https://shopify.dev/docs/api/storefront/current/queries/predictiveSearch) queries enable storefront search functionality. Explore queries interactively with the [GraphiQL explorer and sample query kit](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/api-exploration). * [predictive​Search.unavailableProducts](https://shopify.dev/docs/api/storefront/2025-07/queries/predictiveSearch#arguments-unavailableProducts) ARGUMENT * [search.unavailableProducts](https://shopify.dev/docs/api/storefront/2025-07/queries/search#arguments-unavailableProducts) ARGUMENT *** ## Map ### Arguments with this enum * [Query​Root.predictiveSearch(unavailableProducts)](https://shopify.dev/docs/api/storefront/2025-07/objects/QueryRoot#field-QueryRoot.fields.predictiveSearch.arguments.unavailableProducts) * [Query​Root.search(unavailableProducts)](https://shopify.dev/docs/api/storefront/2025-07/objects/QueryRoot#field-QueryRoot.fields.search.arguments.unavailableProducts) * [predictive​Search.unavailableProducts](https://shopify.dev/docs/api/storefront/2025-07/queries/predictiveSearch#arguments-unavailableProducts) * [search.unavailableProducts](https://shopify.dev/docs/api/storefront/2025-07/queries/search#arguments-unavailableProducts)