---
title: stagedUploadTargetGenerate - GraphQL Admin
description: Generates the URL and signed paramaters needed to upload an asset to Shopify.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/mutations/stagedUploadTargetGenerate
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/mutations/stagedUploadTargetGenerate.md
api_name: admin
api_type: graphql
type: mutation
---

# staged​Upload​Target​Generate

mutation

Deprecated. Use [stagedUploadsCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/stagedUploadsCreate) instead.

Generates the URL and signed paramaters needed to upload an asset to Shopify.

## Arguments

* input

  [Staged​Upload​Target​Generate​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/StagedUploadTargetGenerateInput)

  required

  The input fields for generating a staged upload.

***

## Staged​Upload​Target​Generate​Payload returns

* parameters

  [\[Mutations​Staged​Upload​Target​Generate​Upload​Parameter!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MutationsStagedUploadTargetGenerateUploadParameter)

  non-null

  The signed parameters that can be used to upload the asset.

* url

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

  non-null

  The signed URL where the asset can be uploaded.

* user​Errors

  [\[User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/UserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### stagedUploadTargetGenerate reference
