# StagedUploadTargetGenerateInput - admin - INPUT_OBJECT
Version: 2025-01

## Description
The required fields and parameters to generate the URL upload an"
asset to Shopify.

Deprecated in favor of
[StagedUploadInput](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadInput),
which is used by the
[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).

### Access Scopes



## Fields
* [fileSize](/docs/api/admin/2025-01/scalars/UnsignedInt64): UnsignedInt64 - The size of the file to upload, in bytes.
* [filename](/docs/api/admin/2025-01/scalars/String): String! - The filename of the asset being uploaded.
* [httpMethod](/docs/api/admin/2025-01/enums/StagedUploadHttpMethodType): StagedUploadHttpMethodType - The HTTP method to be used by the staged upload.
* [mimeType](/docs/api/admin/2025-01/scalars/String): String! - The MIME type of the asset being uploaded.
* [resource](/docs/api/admin/2025-01/enums/StagedUploadTargetGenerateUploadResource): StagedUploadTargetGenerateUploadResource! - The resource type being uploaded.


## Input objects with this input object
* [stagedUploadTargetGenerate](/docs/api/admin/2025-01/mutations/stagedUploadTargetGenerate)


## Examples