---
title: "SearchQuerySuggestion"
description: "A search query suggestion."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/products/objects/search-query-suggestion'
  md: 'https://developer.shopline.com/docs/storefront-api/products/objects/search-query-suggestion.md'
---
# SearchQuerySuggestion

A search query suggestion.

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`SearchQuerySuggestion`

## Fields

* `text`

  [String!](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The text of the search query suggestion.

## Schema Definition

```graphql
type SearchQuerySuggestion { 
	text: String! 
}
```

## Field from

* [PredictiveSearchResult](https://developer.shopline.com/docs/storefront-api/products/objects/predictive-search-result.md).queries

  The query suggestions that are relevant to the search query.

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

