File Set Input
The input fields required to create or update a file object.
Anchor to FieldsFields
- alt (String)
- contentType (FileContentType)
- duplicateResolutionMode (FileCreateInputDuplicateResolutionMode)
- filename (String)
- id (ID)
- originalSource (String)
- •String
The alt text description of the file for screen readers and accessibility.
- Anchor to contentTypecontent•File
Type Content Type The file content type. If omitted, then Shopify will attempt to determine the content type during file processing.
- Anchor to duplicateResolutionModeduplicate•File
Resolution Mode Create Input Duplicate Resolution Mode Default:APPEND_UUID How to handle if filename is already in use.
- Anchor to filenamefilename•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
is used.- •ID
The ID of an existing file.
- Anchor to originalSourceoriginal•String
Source An external URL (for images only) or a staged upload URL.
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
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
mutation.Include an
idto 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.