Anchor to StagedUploadTargetGenerateInputStaged
input_objectStaged Upload Target Generate Input
The required fields and parameters to generate the URL upload an" asset to Shopify.
Deprecated in favor of StagedUploadInput, which is used by the stagedUploadsCreate mutation.
Anchor to FieldsFields
- Anchor to filenamefilename•String!non-null
The filename of the asset being uploaded.
- Anchor to fileSizefile•Unsigned
Size Int64 The size of the file to upload, in bytes.
- Anchor to httpMethodhttp•Staged
Method Upload Http Method TypeDefault:PUT The HTTP method to be used by the staged upload.
- Anchor to mimeTypemime•String!non-null
Type The MIME type of the asset being uploaded.
- Anchor to resourceresource•Staged
Upload Target Generate Upload Resource!non-null The resource type being uploaded.
Was this section helpful?