I want to show product images in an order for a plugin that I am developing. But with the response returned for orders (from the shopify admin API), line_items does not contain a product object or any other object that has a link to buy a product image's cdn link, but a product identifier.
Now I plan to call the api admin again with the product ID to get images that look expensive, since I have to do this with all the elements in the order and do this for all orders.
My question is, what is the other way to get the cdn link for the product image, given the product id or what might be best for this?
Thanks in advance.
source
share