urlRedirectCreate - admin-graphql - MUTATION
Version: 2024-04
Description:
Creates a [`UrlRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object.
Access Scopes
`write_online_store_navigation` access scope.
Arguments
-
urlRedirect:
UrlRedirectInput! -
The fields to use when creating the redirect.
Returns
-
urlRedirect:
UrlRedirect
The created redirect.
-
userErrors:
UrlRedirectUserError!
The list of errors that occurred from executing the mutation.
Examples