Anchor to media
querymedia
Retrieve active shop videos for a given entity
Anchor to Arguments
Arguments
- entityId (ID!)
- 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)
Was this section helpful?
Anchor to Possible returnsPossible returns
- ShopVideo ([ShopVideo!]!)
- Anchor to ShopVideoShop•[Shop
Video Video!]! Represents a shop video with related products.
- •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.
- •ID!
Was this section helpful?