Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey There,
I am using the following GET
https://{{store_name}}.myshopify.com/admin/api/{{api_version}}/products/{{productID}}/metafields/{{metafieldID}}.json
and it is returning the metafield object which looks like this:
{
"metafield": {
"id":value,
"namespace": "theme",
"key": "image",
"value": "gid://shopify/MediaImage/value",
"description": null,
"owner_id":value,
"created_at": "2023-06-24T16:34:47+10:00",
"updated_at": "2023-06-26T15:44:13+10:00",
"owner_resource": "product",
"type": "file_reference",
"admin_graphql_api_id": "gid://shopify/Metafield/value"
}
}
I am looking to get the URL of the file via the API, any ideas how I would do that?
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025