Skip to main content
input_object

The input fields that are required to create a file object.

•String

The alt text description of the file for screen readers and accessibility.

•FileContentType

The file content type. If omitted, then Shopify will attempt to determine the content type during file processing.

Anchor to duplicateResolutionModeduplicateResolutionMode
•FileCreateInputDuplicateResolutionMode
Default:APPEND_UUID

How to handle if filename is already in use.

•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 originalSource is used.

•String!
non-null

An external URL (for images only) or a staged upload URL.


Was this section helpful?

Anchor to Mutations using this inputMutations using this input


Was this section helpful?