I am trying to import product with the help of magentos api. I create a Product as followed:
$ret = $client->call($session, 'product.create', array
$attributeId, #will be determined via api
$sku, #will be auto generated
$newProductData #holds all the data and everything ends up in magento, so this array should be correct
The Product is created successfully and displayed in magento. But if I want to edit this product I have to set the configurable attribute for this configurable.
But the attribute by the attribute code “attribute_set_id” is not an allowed attribute. So I cannot set it via the $newProductData. So how to I set this with the API???
Any help would be appriciated.