cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1 API SOAP V2 created configurable product with associated simples

Magento 1 API SOAP V2 created configurable product with associated simples

I need help with the creation of a configurable products with Magento SOAP API V2.

My problem is:

I managed to create the configurable product, but there aren't any simple associated and when I open the configurable I see a windows that tell me "Select Configurable Attributes".

I thought there is a mistake in the configurable attributes.

This is my configurable probuct data array:

$data = array(
"categories" => array("0" => 19),
"websites" => array("0" => 3),
"name" => "Sport",
"description" => "a classic-looking wimbledon-style tennis shoe re-imagined in aged blue leather and featuring a chic band-covering around the box sole",
"short_description" =>"",
"weight" => 0.9600,
"status" => 1,
"url_key" => "sport-pr53801aq000",
"url_path" => "sport-pr53801aq000.html",
"visibility" => 4,
"price" => 395.0000,
"tax_class_id" => 2,
"meta_title" => "Sport - low top - calfskin - PR53801AQ000",
"meta_keyword" =>"",
"meta_description" => "A classic-looking wimbledon-style tennis shoe re-imagined in aged blue leather and featuring a chic band-covering around the box sole",
"stock_data" => array(
"manage_stock" => 1,
"is_in_stock" => 1,
"qty" => 0.0000,
"is_qty_decimal" => "",
"use_config_manage_stock" => 1,
),
"additional_attributes" => array(
"single_data" => array(),
"multi_data" => array(),
),
"has_options" => 1,
"required_options" => 1,
"configurable_attributes" => array("0" => 167), // this correspond to the id of configurable attribute
"associated_ids" => array("82229" => 5661),
)

 

Can someone help me?

1 REPLY

Re: Magento 1 API SOAP V2 created configurable product with associated simples

Hi @alberto_p,

 

If I'm not wrong you won't be able to assing simple products to your configurable one using the native API.

I don't remember all the details but I guess this link will help you to find the solution: https://magento.stackexchange.com/questions/18027/configurable-products-with-soap-api

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"