Add simple products to configurable product using soap api
-
18-01-2021 - |
Domanda
I wants to associate simple products to configurable product from while creating the configurable product using soap api in magento1.9
Soluzione
catalog_product_link.assign SOAP V1 API method helps you achieve it.
Sample Code to associate products
$client->call($sessionId, 'catalog_product_link.assign', array('configurable', $configurableProductSku, $associatedSimpleProductSku));
Go through this magento article to get a grip on it.
Edited:
The association between a child and configurable products is different from the way it does with the rest of the product types ( like cross sell, up sell, grouped )in magento. Apparently, there is no direct SOAP method to provide such association. So, this extension will achieve what you need.
Altri suggerimenti
This extension is worked for me :
Thanks
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange