---
title: UrlRedirectInput - GraphQL Admin
description: The input fields to create or update a URL redirect.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/UrlRedirectInput
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/UrlRedirectInput.md
api_name: admin
api_type: graphql
type: input-object
---

# Url​Redirect​Input

input\_object

The input fields to create or update a URL redirect.

## Fields

* path

  [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

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

* target

  [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The target location where the user will be redirected to.

***

## Mutations using this input

* [url​Redirect​Create.urlRedirect](https://shopify.dev/docs/api/admin-graphql/latest/mutations/urlRedirectCreate#arguments-urlRedirect)

  ARGUMENT

* [url​Redirect​Update.urlRedirect](https://shopify.dev/docs/api/admin-graphql/latest/mutations/urlRedirectUpdate#arguments-urlRedirect)

  ARGUMENT

***

## Map

### Mutations using this input

* [url​Redirect​Create.urlRedirect](https://shopify.dev/docs/api/admin-graphql/latest/mutations/urlRedirectCreate#arguments-urlRedirect)
* [url​Redirect​Update.urlRedirect](https://shopify.dev/docs/api/admin-graphql/latest/mutations/urlRedirectUpdate#arguments-urlRedirect)
