I am using the Magento SOAP v1 API, I am trying to add a parameter to an attribute. Using the following documentation Link
This is the code that I use as a test.
$attributeCode = "colour"; $optionToAdd = array( "Label" => array( array( "store_id" => 1, "value" => "Green" ) ), "order" => 0, "is_default" => 0 );
When I make an API call, it returns the following:
<b>Fatal error</b>: Uncaught SoapFault exception: [108] Default option value is not defined
I can't make me work for life. Nothing else was missing from the documents ?!
source share