Anchor to FileCreateInputFile
input_objectFile Create Input
The input fields that are required to create a file object.
Anchor to FieldsFields
- •String
The alt text description of the file for screen readers and accessibility.
- 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 Mode Default:APPEND_UUID How to handle if filename is already in use.
- Anchor to filenamefilename•String
The name of the file. If provided, then the file is created with the specified filename. If not provided, then the filename from the
is used.
- Anchor to originalSourceoriginal•String!
Source non-null An external URL (for images only) or a staged upload URL.
Was this section helpful?