Issue Returning Product Images via the API


#1

I’m having issues with returning product images via your API. The request I’m making is: GET /products?include=main_image.
But the response I’m getting is identical to GET /products.
From your docs and the forum, I expected to see an included key in the response
containing the actual image object with href?
Any help would be much appreciated, I don’t particularly want to make another
API request to get all files.


#2

In this instance, our documentation was wrong and has been updated. The request should be GET /products?include=main_images

We have amended the documentation to reflect this.

Thank you