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

The source URL of the file. An external URL can be used for images, generic files, or external videos. Videos and 3D models require a staged upload URL.


Was this section helpful?

Anchor to Mutations using this inputMutations using this input


Was this section helpful?