---
title: RelatedProductInput - Shop Partners API
description: Input type for associating products with shop videos.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-partners/latest/input-objects/RelatedProductInput
  md: https://shopify.dev/docs/api/shop-partners/latest/input-objects/RelatedProductInput.md
---

# Related​Product​Input

input\_object

Input type for associating products with shop videos.

## Fields

* product​Id

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

  non-null

  The product ID in GID format (e.g., gid://shopify/Product/123).

* product​Variant​Id

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

  The product variant ID in GID format (e.g., gid://shopify/ProductVariant/456).

***

## Input objects using this input

* [Media​Create​Input.relatedProducts](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MediaCreateInput#fields-relatedProducts)

  INPUT OBJECT

  Input for creating a new shop video.

* [Media​Update​Input.relatedProducts](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MediaUpdateInput#fields-relatedProducts)

  INPUT OBJECT

  Input for updating an existing shop video.

***

## Map

### Input objects using this input

* [Media​Create​Input.relatedProducts](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MediaCreateInput#fields-relatedProducts)
* [Media​Update​Input.relatedProducts](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MediaUpdateInput#fields-relatedProducts)