Anchor to savedSearchDeletesaved
savedSearchDelete
mutation
Delete a saved search.
Anchor to Arguments
Arguments
- Anchor to inputinput•Saved
Search requiredDelete Input! The input fields to delete a saved search.
Was this section helpful?
Anchor to SavedSearchDeletePayload returnsSavedSearchDeletePayload returns
- Anchor to deletedSavedSearchIddeleted•
Saved Search Id The ID of the saved search that was deleted.
- Anchor to shopshop•Shop!non-null
The shop of the saved search that was deleted.
- Anchor to userErrorsuser•
Errors [UserError!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation savedSearchDelete($input: SavedSearchDeleteInput!) {2 savedSearchDelete(input: $input) {3 deletedSavedSearchId4 shop {5 # Shop fields6 }7 userErrors {8 field9 message10 }11 }12}
Input
1{2 "input": {3 "id": "gid://shopify/<objectName>/10079785100"4 }5}
{
"input": {
"id": "gid://shopify/<objectName>/10079785100"
}
}
input SavedSearchDeleteInput {
id: ID!
}