Saved Search
A saved search is a representation of a search query saved in the admin.
Anchor to FieldsFields
- Anchor to filtersfilters•[Search
Filter!]!non-null The filters of a saved search.
- •ID!non-null
A globally-unique ID.
- Anchor to legacyResourceIdlegacy•
Resource Id UnsignedInt64!non-null The ID of the corresponding resource in the REST Admin API.
- Anchor to namename•String!non-null
The name of a saved search.
- Anchor to queryquery•String!non-null
The query string of a saved search. This includes search terms and filters.
- Anchor to resourceTyperesource•
Type SearchResult Type!non-null The type of resource this saved search is searching in.
- Anchor to searchTermssearch•
Terms String!non-null The search terms of a saved search.
Anchor to QueriesQueries
- •query
List of the shop's automatic discount saved searches.
- •query
List of the shop's code discount saved searches.
- •query
Returns a list of the shop's collection saved searches.
- •query
List of the shop's redeemed discount code saved searches.
- •query
List of the shop's draft order saved searches.
- •query
A list of the shop's file saved searches.
- •query
List of the shop's order saved searches.
- •query
Returns a list of the shop's product saved searches.
- •query
A list of the shop's URL redirect saved searches.
Anchor to MutationsMutations
- •mutation
Creates a saved search.
- Anchor to inputinput•Saved
Search Create Input!required Specifies the input fields for a saved search.
Arguments
- Anchor to savedSearchsaved•
Search The saved search that was created.
- Anchor to userErrorsuser•
Errors [UserError!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates a saved search.
- Anchor to inputinput•Saved
Search Update Input!required The input fields to update a saved search.
Arguments
- Anchor to savedSearchsaved•
Search The saved search that was updated.
- Anchor to userErrorsuser•
Errors [UserError!]!non-null The list of errors that occurred from executing the mutation.
Fields