Home > @infiniteobjects/shopify-data-manager > AdminTypes > CreateMediaInput
The input fields required to create a media object.
Signature:
export interface CreateMediaInput
Property | Modifiers | Type | Description |
---|---|---|---|
alt? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The alt text associated with the media. | |
mediaContentType | MediaContentType | `${MediaContentType}` | The media content type. | |
originalSource | Scalars[‘String’][‘input’] | The original source of the media object. This might be an external URL or a staged upload URL. |