I have tried to add a configurable product in using magento soap api. I am using the following code to add
$product = array( 'product_id' => 23, // simple product id 'sku' => 'H001-Yellow-22', 'qty' => '1', 'super_attribute' => Array(  => 10,  => 3 ) // color is yellow and size is 22 ); $client->shoppingCartProductAdd($session,$cartId,array($product),'1');
Instead of superattribute, i gave like this also
'super_attribute' => array( 0 => array( 'key' => 92, 'value' => 10 ), 1 => array( 'key' => 134, 'value' => 3 ) )
but the options are not added to the cart. Why the options are not added to the cart? How the options to be added?