GitHub

ShopifyUrlRedirect

interface

import { ShopifyUrlRedirect } from '@daffodil/driver/shopify'

A redirect on the online store.

interface ShopifyUrlRedirect {
  __typename: "UrlRedirect"
  id: string
  path: string
  target: string
}

Properties

__typename
"UrlRedirect"
id
string

The ID of the URL redirect.

path
string

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

target
string

The target location where the user will be redirected to.