Getting a product’s image using the API?
-
At the moment the API supports getting the attached images for a product – but not the featured image.
For example if I use the API to get details on this product the attachments are this image and this image.
The main product image, this one, doesn’t appear in the API response at all.
Similarly if I get info about this product from the API then I just get this:
"attachments": [],
As there’s only the main “featured” image and nothing else. I don’t know if that’s intended behaviour or not but it’s a bit of a pain.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Getting a product’s image using the API?’ is closed to new replies.