generic_ file
A file from a type metafield that is neither an image or video.
Properties
The position of the media in the
product.mediaarray.If the source is a
metafield, thennilis returned.
{
"alt": null,
"id": 21918386454593,
"media_type": "generic_file",
"position": null,
"preview_image": {},
"url": "//polinas-potent-potions.myshopify.com/cdn/shop/files/disclaimer.pdf?v=9043651738044769859"
}
Example
{
"alt": null,
"id": 21918386454593,
"media_type": "generic_file",
"position": null,
"preview_image": {},
"url": "//polinas-potent-potions.myshopify.com/cdn/shop/files/disclaimer.pdf?v=9043651738044769859"
}Was this section helpful?