Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

1.5.0.1 API multi_data for additional attributes question
 
bthibault
Jr. Member
 
Total Posts:  7
Joined:  2011-12-19
 

I can’t get the API to accept multiple additional attribute values, but maybe I’m doing something wrong.

For example:

$attr->key = ‘color’;
$attr->value = array( ‘redcolorcode’ , ‘blackcolorcode’ );

I get an error on trying to send an array of data.

I know for a fact it doesn’t support the ‘single_data’ and ‘multi-data’ attributes list here http://www.magentocommerce.com/api/soap/catalog/catalogProduct/catalog_product.create.html .. so that must have been added in a later version.

So the question is, is there a way this can work ?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top