Anchor to section titled 'undefined'

savedSearchCreate
mutation

Creates a saved search.


Specifies the input fields for a saved search.


Was this section helpful?

The saved search that was created.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation savedSearchCreate($input: SavedSearchCreateInput!) {
  savedSearchCreate(input: $input) {
    savedSearch {
      # SavedSearch fields
    }
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{
  "input": {
    "name": "<your-name>",
    "query": "<your-query>",
    "resourceType": "BALANCE_TRANSACTION"
  }
}
input SavedSearchCreateInput {
  name: String!
  query: String!
  resourceType: SearchResultType!
}