Skip to main content
object

Requires read_online_store_navigation access scope.

The URL redirect for the online store.

•ID!non-null

The ID of the URL redirect.

•String!non-null

The old path to be redirected from. When the user visits this path, they will be redirected to the target location.

•String!non-null

The target location where the user will be redirected to.


Was this section helpful?

•query

Returns a redirect resource by ID.

•query

A list of redirects for a shop.


Was this section helpful?

•mutation

Creates a UrlRedirect object.

Arguments

•UrlRedirectInput!required

The fields to use when creating the redirect.


Fields

•UrlRedirect

The created redirect.

•[UrlRedirectUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Updates a URL redirect.

Arguments

•ID!required

The ID of the URL redirect to update.

•UrlRedirectInput!required

The input fields required to update the URL redirect.


Fields

•UrlRedirect

Returns the updated URL redirect.

•[UrlRedirectUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

•interface

Was this section helpful?
OSZAR »