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 for creating or updating a gift card product with the giftCardProductSet mutation.

For list fields like variants, the mutation creates new entries, updates existing ones, and deletes any entries not included in the input. All other fields update only when explicitly provided, leaving omitted fields unchanged.

•INPUT OBJECT

The input fields for specifying a gift card product variant to create or update with the giftCardProductSet mutation.

Include an id to update an existing variant, or omit it to create a new one. Gift card variant defaults are applied automatically, meaning variants are set to non-taxable, don't require shipping, and their inventory is untracked.

•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?