API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

UrlRedirect object

Version unstable

A redirect on the Online Store.

Required access

read_online_store_navigation access scope.

Fields

  • id (ID!)

    The ID of the URL redirect.

  • path (String!)

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

  • target (String!)

    The target location where the user will be redirected.

Types that return UrlRedirect

Mutations for UrlRedirect

Implements

Version unstable

An auto-generated type for paginating through multiple UrlRedirects.

Fields

Types that return UrlRedirect

Mutations for UrlRedirect

Version unstable

An auto-generated type which holds one UrlRedirect and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.

  • node (UrlRedirect!)

    The item at the end of UrlRedirectEdge.

Types that return UrlRedirect

Mutations for UrlRedirect