Anchor to StagedUploadInputStaged
input_objectStagedUploadInput
The input fields for generating staged upload targets.
Anchor to FieldsFields
- filename (String!)
- fileSize (UnsignedInt64)
- httpMethod (StagedUploadHttpMethodType)
- mimeType (String!)
- resource (StagedUploadTargetGenerateUploadResource!)
- Anchor to filenamefilename•String!non-null
The file's name and extension.
- Anchor to fileSizefile•Unsigned
Size Int64 - Anchor to httpMethodhttp•Staged
Method Upload Http Method Type Default:PUT The HTTP method to be used when sending a request to upload the file using the returned staged upload target.
- Anchor to mimeTypemime•String!
Type non-null The file's MIME type.
- Anchor to resourceresource•Staged
Upload Target Generate Upload Resource! non-null The file's intended Shopify resource type.
Was this section helpful?