Anchor to FileCreateInputFile
input_objectFile Create Input
The input fields that are required to create a file object.
Anchor to FieldsFields
- •String
The alternative text description of the file.
- Anchor to contentTypecontent•File
Type Content Type The file content type. If omitted, then Shopify will attempt to determine the content type during file processing.
- Anchor to duplicateResolutionModeduplicate•File
Resolution Mode Create Input Duplicate Resolution ModeDefault:APPEND_UUID How to handle if filename is already in use.
- Anchor to filenamefilename•String
When provided, the file will be created with the given filename, otherwise the filename in the originalSource will be used.
- Anchor to originalSourceoriginal•String!non-null
Source An external URL (for images only) or a staged upload URL.
Was this section helpful?