Home > @infiniteobjects/shopify-data-manager > AdminTypes > FileUpdateInput
The input fields that are required to update a file object.
Signature:
export interface FileUpdateInput
Property | Modifiers | Type | Description |
---|---|---|---|
alt? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The alternative text description of the file. | |
filename? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The name of the file including its extension. | |
id | Scalars[‘ID’][‘input’] | The ID of the file to be updated. | |
originalSource? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The source from which to update a media image or generic file. An external URL (for images only) or a [staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate). | |
previewImageSource? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The source from which to update the media preview image. May be an external URL or a [staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate). |