SearchResult object

Represents an individual result returned from a search.


On this page


Fields

  • description ([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    Returns the search result description text.
  • image ([Image](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/image))
    Returns the Image resource presented to accompany a search result.
  • reference ([Node!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node))
    Returns the ID of the resource returned in the search result.
  • title ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    Returns the resource title.
  • url ([URL!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#url-2021-01))
    Returns the absolute URL to the resource in the search result.


Types that return SearchResult

  • [Shop.search](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/shop#search-2021-01)