Anchor to UrlRedirectUrl
objectUrl Redirect
Requires access scope.
The URL redirect for the online store.
Anchor to FieldsFields
- •ID!non-null
The ID of the URL redirect.
- Anchor to pathpath•String!non-null
The old path to be redirected from. When the user visits this path, they will be redirected to the target location.
- Anchor to targettarget•String!non-null
The target location where the user will be redirected to.
Was this section helpful?
Anchor to QueriesQueries
- •query
Returns a redirect resource by ID.
- •query
A list of redirects for a shop.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
- Anchor to urlRedirecturl•Url
Redirect Redirect Input!required The fields to use when creating the redirect.
Arguments
- Anchor to urlRedirecturl•Url
Redirect Redirect The created redirect.
- Anchor to userErrorsuser•[Url
Errors Redirect User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates a URL redirect.
- •ID!required
The ID of the URL redirect to update.
- Anchor to urlRedirecturl•Url
Redirect Redirect Input!required The input fields required to update the URL redirect.
Arguments
- Anchor to urlRedirecturl•Url
Redirect Redirect Returns the updated URL redirect.
- Anchor to userErrorsuser•[Url
Errors Redirect User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?