Skip to main content
input_object

The input fields required to create or update a file object.

•String

The alternative text description of the file.

•FileContentType

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

Anchor to duplicateResolutionModeduplicateResolutionMode
•FileCreateInputDuplicateResolutionModeDefault:APPEND_UUID

How to handle if filename is already in use.

•String

When provided, the file will be created with the given filename, otherwise the filename in the originalSource will be used.

•ID

The ID of an existing file.

•String

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


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

The files to associate with the product.

•INPUT OBJECT

The file to associate with the variant. Any file specified here must also be specified in the files input for the product.


Was this section helpful?