Get main Image SRC within Orders > Line_Items response?

TezWingfield
Shopify Partner
8 0 0

Hi,

I think it's safe to say if it's not in the docs, it doesnt exist but ideally would like to know if anyone has found an implementation to grab the main image src of a product and nest in the line_item of an order request. I want to save myself a round trip and make one call.

 

Regards,

Replies 2 (2)
Josh_Brown1
Shopify Staff (Retired)
Shopify Staff (Retired)
146 0 30

Hey there,

Product images are not available through the orders API, you'll need to use the product APIs to get them.

 

TezWingfield
Shopify Partner
8 0 0

Hi, Thank you.

Yes, Assumed so. In the end I created two calls.

Thank you for your time.

 

Regards,