Anchor to StagedUploadTargetGenerateInputStaged
StagedUploadTargetGenerateInput
input_object
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•
Size The size of the file to upload, in bytes.
- Anchor to httpMethodhttp•
Method StagedUpload Default:PUTHttp Method Type The HTTP method to be used by the staged upload.
- Anchor to mimeTypemime•
Type String!non-null The MIME type of the asset being uploaded.
- Anchor to resourceresource•
The resource type being uploaded.
Was this section helpful?