Add Product Media via API

Highlighted
Tourist
13 3 7

Hi everyone!  I notice Shopify is now allowing you to add Media to products, including external URLs.  This  is an exciting feature because it means I possibly don't have to rewrite our theme's entire  image gallery viewer to support showing videos inline.  However, the limitations imposed by Shopify are kind of a dealbreaker (limited to just YouTube/Vimeo, 60 second video otherwise).

I want to know if it's possible to add media to products via API.  All the limitations aside, we have 20k+ products with videos, it'd be too time consuming to manually upload all those videos.

Does anyone know if this is possible to do with the API?  Please let me know if you need more information.

0 Likes