The input fields that are required to create a file object.
Access Scopes
Fields
alt:
String -
The alternative text description of the file.
contentType:
FileContentType -
The file content type. If omitted, then Shopify will attempt to determine the content type during file processing.
duplicateResolutionMode:
FileCreateInputDuplicateResolutionMode -
How to handle if filename is already in use.
filename:
String -
When provided, the file will be created with the given filename,
otherwise the filename in the originalSource will be used.
originalSource:
String! -
An external URL (for images only) or a
[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).