Skip to main content
input_object

The input fields required to create or update 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.

•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 input fields required to create or update a product via ProductSet mutation.

•INPUT OBJECT

The input fields for specifying a product variant to create or update.


Was this section helpful?