getting only the src of images from products api

New Member
1 0 0

hello I'm trying to get the product title , id and image src ! in case the product have a lot of images i think that will return a list of images SRCs  : 



this way everything works but i get all the info of the images , SO is there any way to get only the src ?? ( I'm using fastapi (python framework ) )

Shopify Expert
4491 45 486

If you switch to GraphQL you can get just the image src value you seek. It is not hard to do, switching from RestAPI to graphQL. It is in most cases, far superior, and these days, I limit use of RestAPI to simple GET checks from the CLI to see what's up with something.

Try it. You might like it.

Custom Shopify Apps built just for you!