SavedSearch

Version 2019-04

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

Show definition
"""
A saved search is a representation of a search query saved in the admin.
"""
type SavedSearch implements LegacyInteroperability & Node {
  """
  The filters of a saved search.
  """
  filters: [SearchFilter!]!
  """
  Globally unique identifier.
  """
  id: ID!
  """
  The ID of the corresponding resource in the REST Admin API.
  """
  legacyResourceId: UnsignedInt64!
  """
  The name of a saved search.
  """
  name: String!
  """
  The query string of a saved search. This includes search terms and filters.
  """
  query: String!
  """
  The type of resource this saved search is searching in.
  """
  resourceType: SearchResultType!
  """
  The search terms of a saved search.
  """
  searchTerms: String!
}

Implements

Fields

filters ([SearchFilter!]!)

The filters of a saved search.

id (ID!)

Globally unique identifier.

legacyResourceId (UnsignedInt64!)

The ID of the corresponding resource in the REST Admin API.

name (String!)

The name of a saved search.

query (String!)

The query string of a saved search. This includes search terms and filters.

resourceType (SearchResultType!)

The type of resource this saved search is searching in.

searchTerms (String!)

The search terms of a saved search.

Version 2019-07 (Latest)

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

Show definition
"""
A saved search is a representation of a search query saved in the admin.
"""
type SavedSearch implements LegacyInteroperability & Node {
  """
  The filters of a saved search.
  """
  filters: [SearchFilter!]!
  """
  Globally unique identifier.
  """
  id: ID!
  """
  The ID of the corresponding resource in the REST Admin API.
  """
  legacyResourceId: UnsignedInt64!
  """
  The name of a saved search.
  """
  name: String!
  """
  The query string of a saved search. This includes search terms and filters.
  """
  query: String!
  """
  The type of resource this saved search is searching in.
  """
  resourceType: SearchResultType!
  """
  The search terms of a saved search.
  """
  searchTerms: String!
}

Implements

Fields

filters ([SearchFilter!]!)

The filters of a saved search.

id (ID!)

Globally unique identifier.

legacyResourceId (UnsignedInt64!)

The ID of the corresponding resource in the REST Admin API.

name (String!)

The name of a saved search.

query (String!)

The query string of a saved search. This includes search terms and filters.

resourceType (SearchResultType!)

The type of resource this saved search is searching in.

searchTerms (String!)

The search terms of a saved search.

Version 2019-10 (Release candidate)

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

Show definition
"""
A saved search is a representation of a search query saved in the admin.
"""
type SavedSearch implements LegacyInteroperability & Node {
  """
  The filters of a saved search.
  """
  filters: [SearchFilter!]!
  """
  Globally unique identifier.
  """
  id: ID!
  """
  The ID of the corresponding resource in the REST Admin API.
  """
  legacyResourceId: UnsignedInt64!
  """
  The name of a saved search.
  """
  name: String!
  """
  The query string of a saved search. This includes search terms and filters.
  """
  query: String!
  """
  The type of resource this saved search is searching in.
  """
  resourceType: SearchResultType!
  """
  The search terms of a saved search.
  """
  searchTerms: String!
}

Implements

Fields

filters ([SearchFilter!]!)

The filters of a saved search.

id (ID!)

Globally unique identifier.

legacyResourceId (UnsignedInt64!)

The ID of the corresponding resource in the REST Admin API.

name (String!)

The name of a saved search.

query (String!)

The query string of a saved search. This includes search terms and filters.

resourceType (SearchResultType!)

The type of resource this saved search is searching in.

searchTerms (String!)

The search terms of a saved search.

Sign up for a Partner account to get started.

Sign up