I'm looking for a method in the API SOAP (v2) to set an uploaded image like 'Base Image', 'Small Image' or 'Thumbnail', but I can't find one.

I've checked the methods in http://www.magentocommerce.com/api/soap/catalog/catalogProductAttributeMedia/productImages.html but none of them looks like doing what I want.


1 Answer 1


You can set the base image, small image and thumbnail image like this

$proxy->call($sessionId, 'product_media.update', array(
    array('position' => 2, 'types' => array('image', 'small_image', thumbnail) /* Lets do it main image for product */)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.