Liquid, JavaScript, themes, sales channels
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?
User | RANK |
---|---|
38 | |
28 | |
13 | |
11 | |
8 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023