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

The fields to use when creating the redirect.


Fields

The created redirect.

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.

The input fields required to update the URL redirect.


Fields

Returns the updated URL redirect.

The list of errors that occurred from executing the mutation.


Was this section helpful?

interface

Was this section helpful?