Anchor to StagedUploadInputStaged
input_objectStaged Upload Input
The input fields for generating staged upload targets.
Anchor to FieldsFields
- 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 TypeDefault: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!non-null
Type 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?