stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > SavedSearch

AdminTypes.SavedSearch interface

A saved search is a representation of a search query saved in the admin.

Signature:

export interface SavedSearch extends LegacyInteroperability, Node 

Extends: LegacyInteroperability, Node

Properties

Property Modifiers Type Description
filters   Array<SearchFilter> The filters of a saved search.
id   Scalars[‘ID’][‘output’] A globally-unique ID.
legacyResourceId   Scalars[‘UnsignedInt64’][‘output’] The ID of the corresponding resource in the REST Admin API.
name   Scalars[‘String’][‘output’] The name of a saved search.
query   Scalars[‘String’][‘output’] The query string of a saved search. This includes search terms and filters.
resourceType   SearchResultType | `${SearchResultType}` The type of resource this saved search is searching in.
searchTerms   Scalars[‘String’][‘output’] The search terms of a saved search.