Development discussions around Shopify APIs
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
Hey guys!
I'm trying to get image's ALT tag, but using your endpoint
GET /admin/metafields.json?metafield[owner_id]=1998675869738&metafield[owner_resource]=product_image
it is not really working, I don't see any metafield at all.
This image with this ID above has ALT tag, I set it in admin dashboard.
Also, I tested with API and created ALT tag for the image which didn't have it and still can't see it's metafields.
What am I doing wrong?
Hey there,
I was just trying to have a look at this, but when trying to find the product image with the ID from the API call you pasted above, it doesn't seem to exist anymore. Has it just been removed? If so, do you have an ID for a new image you've been working with?
Your API call looks good to me, I'm able to use
admin/metafields.json?metafield[owner_id]=992019578895&metafield[owner_resource]=product_image
without having any problems, so at the moment I'm a bit stumped. Would love to look into it further if you have a fresh image ID though!
Josh | 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 the Shopify Help Center or the Shopify Blog
User | RANK |
---|---|
6 | |
5 | |
5 | |
5 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022