Home > @infiniteobjects/shopify-data-manager > AdminTypes > UpdateMediaInput
The input fields required to update a media object.
Signature:
export interface UpdateMediaInput
| Property | Modifiers | Type | Description |
|---|---|---|---|
| alt? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The alt text associated to the media. | |
| id | Scalars[‘ID’][‘input’] | Specifies the media to update. | |
| previewImageSource? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The source from which to update the media preview image. May be an external URL or staged upload URL. |