搜索结果-SearchResult 对象

表示从搜索返回的单个结果。


在本页面


字段

  • description([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    返回搜索结果描述文本。
  • image([Image](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/image))
    返回与搜索结果一起显示的图像资源。
  • reference([Node!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node))
    返回搜索结果中返回的资源的ID。
  • title([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    返回资源标题。
  • url([URL!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#url-2021-01))
    返回搜索结果中资源的绝对URL。


返回SearchResult的类型

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