--- title: UrlRedirectInput - GraphQL Admin description: The input fields to create or update a URL redirect. api_version: 2024-10 api_name: admin type: input_object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/UrlRedirectInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/UrlRedirectInput.txt --- # 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/2024-10/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/2024-10/scalars/String) The target location where the user will be redirected to. *** ## Mutations using this input * [url​Redirect​Create.​url​Redirect](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/urlRedirectCreate#argument-urlRedirect) MUTATION * [url​Redirect​Update.​url​Redirect](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/urlRedirectUpdate#argument-urlRedirect) MUTATION *** ## Map ### Mutations using this input * <\~>[url​Redirect​Create.urlRedirect](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/urlRedirectCreate#argument-urlRedirect) * <\~>[url​Redirect​Update.urlRedirect](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/urlRedirectUpdate#argument-urlRedirect)