Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

query

Returns a redirect resource by ID.

ID!required

The ID of the UrlRedirect to return.


Was this section helpful?

The URL redirect for the online store.

id
non-null

The ID of the URL redirect.

path
non-null

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

target
non-null

The target location where the user will be redirected to.


Was this section helpful?