Varianten über Plugin anlegen

Hey Shopware Community, ich bin gerade dabei eine Shop Migration zu schreiben und bekomme es einfach nicht hin Varianten anzulegen. Bisher habe ich es so probiert: if(!$getOneByNumber) { $params = array( 'name' =\> $article['productName'], 'active' =\> $article['productStatus'], 'tax' =\> $article['taxValue'], 'supplier' =\> $article['manufacturerName'], 'mainDetail' =\> array( 'number' =\> 'MS' . $article['productId'], 'prices' =\> array( array( 'customerGroupKey' =\> 'EK', 'price' =\> $article['priceNetto'], ), ), ), 'configuratorSet' =\> array( 'groups' =\> array( array( 'name' =\> 'Sphaere', 'options' =\> array( array('name' =\> (string)$userProperties['contact\_lenses\_sphere']), ) ), array( 'name' =\> 'Basiskurve', 'options' =\> array( array('name' =\> (string)$userProperties['contact\_lenses\_base\_curve']), ) ), ) ), 'taxId' =\> 1, 'variants' =\> array( array( 'inStock' =\> 15, 'configuratorOptions' =\> array( array('group' =\> 'Sphaere', 'option' =\> (string)$userProperties['contact\_lenses\_sphere']), array('group' =\> 'Basiskurve', 'option' =\> (string)$userProperties['contact\_lenses\_base\_curve']), ), 'prices' =\> array( array( 'customerGroupKey' =\> 'EK', 'price' =\> $article['priceNetto'], ), ) ), ) ); $articleResource-\>create($params); } Nur werden hierbei keine Varianten anglegt, Exceptions werden geschmissen oder der Response enthält nichts weiter als ein leeres HTML Dokument. Hat sonst vllt schonmal jdm einen Import über die lokale Api durchgeführt? Habe SW 4.0.5… :confused: