---
title: Media - Customer API
description: Represents a media interface.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/customer/latest/interfaces/Media'
  md: 'https://shopify.dev/docs/api/customer/latest/interfaces/Media.md'
api_name: customer
api_type: graphql
type: interface
---

# Media

interface

Requires `customer_read_companies` access scope, `customer_read_customers` access scope, `customer_read_locations` access scope or `customer_read_orders` access scope.

Represents a media interface.

## Fields

* alt

  [String](https://shopify.dev/docs/api/customer/latest/scalars/String)

  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

  A globally-unique ID.

* media​Content​Type

  [Media​Content​Type!](https://shopify.dev/docs/api/customer/latest/enums/MediaContentType)

  non-null

  The media content type.

* preview​Image

  [Image](https://shopify.dev/docs/api/customer/latest/objects/Image)

  The preview image for the media.

***

##### Variables

```json
{
	"alt": "",
	"id": "",
	"mediaContentType": "",
	"previewImage": ""
}
```

##### Schema

```graphql
interface Media {
  alt: String
  id: ID!
  mediaContentType: MediaContentType!
  previewImage: Image
}
```
