---
title: MediaUpdateInput - Shop Partners API
description: Input for updating an existing shop video.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-partners/latest/input-objects/MediaUpdateInput
  md: https://shopify.dev/docs/api/shop-partners/latest/input-objects/MediaUpdateInput.md
---

# Media​Update​Input

input\_object

Input for updating an existing shop video.

## Fields

* id

  [ID!](https://shopify.dev/docs/api/shop-partners/latest/scalars/ID)

  non-null

  The video ID in GID format (e.g., gid://shopapp/ShopVideo/ea9088eb-9a19-45b8-9d2c-5ca2b8ae13d1).

* media​Image​Id

  [ID](https://shopify.dev/docs/api/shop-partners/latest/scalars/ID)

  The Shopify Media Image ID in GID format (e.g., gid://shopify/MediaImage/456).

* preview​Image​Url

  [URL](https://shopify.dev/docs/api/shop-partners/latest/scalars/URL)

  The URL of the preview image for the video.

* related​Products

  [\[Related​Product​Input!\]!](https://shopify.dev/docs/api/shop-partners/latest/input-objects/RelatedProductInput)

  required

  List of products and variants related to this video.

***

## Mutations using this input

* [media​Update.input](https://shopify.dev/docs/api/shop-partners/latest/mutations/mediaUpdate#arguments-input)

  ARGUMENT

***

## Map

### Mutations using this input

* [media​Update.input](https://shopify.dev/docs/api/shop-partners/latest/mutations/mediaUpdate#arguments-input)