Anchor to section titled 'undefined'

savedSearchDelete
mutation

Delete a saved search.


The input fields to delete a saved search.


Was this section helpful?

The ID of the saved search that was deleted.

The shop of the saved search that was deleted.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation savedSearchDelete($input: SavedSearchDeleteInput!) {
  savedSearchDelete(input: $input) {
    deletedSavedSearchId
    shop {
      # Shop fields
    }
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{
  "input": {
    "id": "gid://shopify/<objectName>/10079785100"
  }
}
input SavedSearchDeleteInput {
  id: ID!
}