Reuse an existing video as a media to other products

Reuse an existing video as a media to other products

AlexO_Stibo
Shopify Partner
5 0 1

Hi, 

I have existing videos created via stageUpload -> fileCreate mutations and I want to link them to an existing product/s as a media. The main purpose of it is to prevent adding redundant identical videos to the store. I'm trying to use productCreateMedia mutation with resourceUrl as an originalSource, but it duplicates my video... Is there any option to do it? My problem is a bit similar to this one https://community.shopify.com/c/technical-q-a/link-an-already-existing-media-to-a-product-rather-tha... which left unresponed.
I would be grateful for your answer! 

Reply 1 (1)

AlexO_Stibo
Shopify Partner
5 0 1

Quick update: use of productCreateMedia mutation with resourceUrl as an originalSource returns "Cannot create video with duplicate external_video_id=X" not duplicated video