--- title: Media - Customer API description: Represents a media interface. api_version: 2026-04 api_name: customer type: interface api_type: graphql source_url: html: 'https://shopify.dev/docs/api/customer/latest/interfaces/Media' md: 'https://shopify.dev/docs/api/customer/latest/interfaces/Media.md' --- # Media interface Represents a media interface. ## Fields * alt [String](https://shopify.dev/docs/api/customer/latest/scalars/String) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) A word or phrase to share the nature or contents of a media. * id [ID!](https://shopify.dev/docs/api/customer/latest/scalars/ID) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) A globally-unique ID. * media​Content​Type [Media​Content​Type!](https://shopify.dev/docs/api/customer/latest/enums/MediaContentType) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The media content type. * preview​Image [Image](https://shopify.dev/docs/api/customer/latest/objects/Image) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The preview image for the media. *** ##### Variables ```json { "alt": "", "id": "", "mediaContentType": "", "previewImage": "" } ``` ##### Schema ```graphql interface Media { alt: String id: ID! mediaContentType: MediaContentType! previewImage: Image } ```