---
title: "UrlRedirect"
description: "UrlRedirect"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/online-store/objects/url-redirect'
  md: 'https://developer.shopline.com/docs/storefront-api/online-store/objects/url-redirect.md'
---
# UrlRedirect

UrlRedirect

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`UrlRedirect`

## Fields

* `id`

  [ID!](https://developer.shopline.com/docs/storefront-api/common/scalars/id.md)

  Redirect id

* `path`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Emitted source path

* `target`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Targeted path for redirecting

## Schema Definition

```graphql
type UrlRedirect { 
	id: ID!
	path: String
	target: String 
}
```

## Field from

* [UrlRedirectEdge](https://developer.shopline.com/docs/storefront-api/online-store/objects/url-redirect-edge.md).node

  Node

* [Query](https://developer.shopline.com/docs/storefront-api/online-store/queries/proxy-node-redirect.md).proxyNodeRedirect

  当前接口即将下线，新增接入将无法直接使用。如需申请使用权限，请通过工单系统联系平台。

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

