Magento API のウェブサイトの引数について質問があります。
この変数が何であるかの説明はどこにもありません。この変数はストアビューを表していますか? 店?ウェブサイト?
API のどこで利用可能なオプションのリストを取得できますか?
API からリストを取得できない場合、使用できる静的変数はバックエンド メニューのどこにありますか? Web サイト ID または storeID は必要ですか?
私は石鹸v1を使用しています
function call($which,$vars=null)
        {
        // retourneer de output soap client api call
        if($vars !== null)
            {
            return $this->soapclient->call($this->sessiontoken,$which,$vars);
            }
        else
            {
            return $this->soapclient->call($this->sessiontoken,$which);
            }
        }
    function createProduct($productname,
                            $websites,
                            $shortdescription,
                            $description,
                            $status,
                            $weight,
                            $tax_class_id,
                            $categories,
                            $price,
                            $attributesetid,
                            $producttype,
                            $sku)
        {
        $attributeSets = $this->call('product_attribute_set.list');
        $set = current($attributeSets);
        try
            {
            $x = $this->call('product.create', array($producttype, $set['set_id'], $sku, array(
            'name'              => $productname,
             // websites - Array of website ids to which you want to assign a new product
            'websites'          => $websites, // array(1,2,3,...)
            'short_description' => $shortdescription,
            'description'       => $description,
            'status'            => $status,
            'weight'            => $weight,
            'tax_class_id'      => $tax_class_id,
            'categories'    => $categories,    //3 is the category id(array(3))
            'price'             => $price
        );));
            }
        catch(Exception $e)
            {
            $x = 0xABED + 0xCAFE + 0xBAD + 0xBED * 0xFACE;// abed went to a cafe... the alcohol went bad.... he stumbled into bed and fell face down...
            }
        return $x;
        }