Anchor to urlRedirectBulkDeleteBySavedSearchurl
urlRedirectBulkDeleteBySavedSearch
mutation
Requires access scope. Also: Requires an active user.
Asynchronously delete redirects in bulk.
Anchor to Arguments
Arguments
- Anchor to savedSearchIdsaved•
Search Id ID!required The ID of the URL redirect saved search for filtering.
Was this section helpful?
Anchor to UrlRedirectBulkDeleteBySavedSearchPayload returnsUrlRedirectBulkDeleteBySavedSearchPayload returns
- •
The asynchronous job removing the redirects.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation urlRedirectBulkDeleteBySavedSearch($savedSearchId: ID!) {
urlRedirectBulkDeleteBySavedSearch(savedSearchId: $savedSearchId) {
job {
# Job fields
}
userErrors {
field
message
}
}
}
Input
{
"savedSearchId": "gid://shopify/<objectName>/10079785100"
}
{
"savedSearchId": "gid://shopify/<objectName>/10079785100"
}