Can I get model3d that setup product's media using storefront API?

Shopify Partner
2 0 0

Hi, I'm trying to develop shopify experience site using storefront API.


Product can register image, video...and model 3d as product's media.


Im struggling to get the specific media type, especially model 3d...

Im looking for around document,

recently model3d object exists in storefront api document.


so then, how can I get a model 3d when retrieving product/product variant that have a model 3d in media?

Replies 2 (2)

Shopify Staff
2731 299 769

Hi Yuji-Akutsu,


The file type is a GLB file, and you can test with demo files that are available on our developer docs


Hope this helps!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit or the Shopify Web Design and Development Blog

Shopify Partner
2 0 0

Thanks for the reply!
I actually know the file type, so then I tried to get a model 3d file that uploaded as product's media, using Storefront API...

so far I saw site's qraphQL generator can make query to get product with media(included image/video/3dModel).

unfortunately, the reference demo shop don't have a multiple file type but image only for each products.


What actually I want to know is Sample Query to get "first 1 3dModel of specific Object" using storefront API, and Sample Result that success to get product's 3d model...
anyway, I found the sample query explorer, so will try to use the query sample to get 3d object's source url.