Anchor to ShopVideoShop
objectShop Video
Represents a shop video with related products.
Anchor to FieldsFields
- id (ID!)
- mediaImageId (ID)
- previewImageUrl (URL!)
- relatedProducts ([RelatedProduct!]!)
- status (ShopVideoStatus!)
- videoId (ID)
- videoUrl (URL!)
- •ID!non-null
A globally-unique identifier for the video.
- Anchor to mediaImageIdmedia•ID
Image Id The Shopify Media Image ID in GID format.
- Anchor to previewImageUrlpreview•URL!
Image Url non-null The URL of the preview image for the video.
- •[Related
Product!]! non-null List of products and variants related to this video.
- Anchor to statusstatus•Shop
Video Status! non-null The status of the video (active or inactive).
- Anchor to videoIdvideo•ID
Id The Shopify Video ID in GID format.
- Anchor to videoUrlvideo•URL!
Url non-null The URL of the video.
Was this section helpful?
Anchor to QueriesQueries
- media ([ShopVideo!]!)
- •query
Retrieve active shop videos for a given entity
- Anchor to entityIdentity•ID!
Id required The Product or ProductVariant ID in GID format (e.g., gid://shopify/Product/123 or gid://shopify/ProductVariant/456)
Arguments
Was this section helpful?
Anchor to MutationsMutations
- mediaCreate (MediaCreatePayload)
- mediaUpdate (MediaUpdatePayload)
- •mutation
Create a new shop video with related products.
- Anchor to inputinput•Media
Create Input! required
Arguments
- •mutation
Update an existing shop video.
- Anchor to inputinput•Media
Update Input! required
Arguments
Was this section helpful?