已保存的搜索记录 对象
保存的搜索表示保存在管理员中的搜索查询记录。
在本页面
字段
- filters(
[[SearchFilter!]!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/searchfilter)
)
已保存搜索的过滤器。 - id(
[ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
)
全局唯一标识符。 - legacyResourceId(
[UnsignedInt64!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#unsignedint64-2021-01)
)
REST Admin API中相应资源的ID。 - name(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
保存的搜索的名称。 - query(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
保存的搜索的查询字符串。这包括搜索词和过滤器。 - resourceType(
[SearchResultType!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/searchresulttype)
)
此保存的搜索所搜索的资源类型。 - searchTerms(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
已保存搜索的搜索词。
返回SavedSearch的类型
[DiscountCustomerSavedSearches.savedSearches](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcustomersavedsearches#savedsearches-2021-01)
[PriceRuleCustomerSelection.savedSearches](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/pricerulecustomerselection#savedsearches-2021-01)
[QueryRoot.codeDiscountSavedSearches](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#codediscountsavedsearches-2021-01)
[QueryRoot.collectionSavedSearches](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#collectionsavedsearches-2021-01)
[QueryRoot.customerSavedSearches](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#customersavedsearches-2021-01)
[QueryRoot.discountRedeemCodeSavedSearches](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#discountredeemcodesavedsearches-2021-01)
[QueryRoot.draftOrderSavedSearches](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#draftordersavedsearches-2021-01)
[QueryRoot.orderSavedSearches](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#ordersavedsearches-2021-01)
[QueryRoot.priceRuleSavedSearches](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#pricerulesavedsearches-2021-01)
[QueryRoot.productSavedSearches](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#productsavedsearches-2021-01)
[QueryRoot.automaticDiscountSavedSearches](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#automaticdiscountsavedsearches-2021-01)
SavedSearch的变异
- savedSearchCreate
创建一个保存的搜索。 - savedSearchDelete
删除保存的搜索。 - 保存的搜索更新
更新保存的搜索。
派生关系
[LegacyInteroperability](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/legacyinteroperability)
[Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node)