Back to Developer changelog

Search and predictive search are now available on Storefront API

API

Effective July 01, 2023

You can now use search and predictiveSearch queries in the GraphQL Storefront API to enable natural language search on your custom storefronts.

The search API returns the most releavant search results among product, page and article resource types. Merchants can use the Shopify Search & Discovery app to change the default value of the resource types and customize search results.

The predictiveSearch API helps you implement a predictive search dropdown interface where suggested results are displayed immediately as buyers type into the search bar.

Learn more about new search APIs on Shopify.dev.