Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi all,
I'm trying to get the products images using GraphQL via Storefront API.src and originalSrc fields are deprecated so I should use url but I cannot see this field anywhere in the documentation.
What should I do? Thanks!
Solved! Go to the solution
This is an accepted solution.
It seems the doc has been updated ✅
This is an accepted solution.
It seems the doc has been updated ✅
Hello,
How about the GraphQL Admin API? It seems that the "url" field is not available in the Image object schema yet for the GraphQL Admin API.
Thank you
Hi perhaps I am missing something but even though the doc has been updated, the api has not, seemingly. I am new to Shopify and am testing out the api but I came up with this issue as well.
ok, fine then I when I try the url, as suggested, I get
and it returns an error
But the src, does not error, despite the documentation
Which is both mysterious to me and as this seems to be happening often with the documentation at Shopify, pretty annoying for me. But I stand to be happily corrected by someone.
Hey @GarethM ,
Which API are you using (Admin or Storefront) ? And which version?
I were looking to restoration this on and rancid for around 2 hours, the propose is very a whole lot liked. Could I also ask one closing query, how can i remove the work Description from every of the product pages, it just does appearance appropriate imo for the page.