$new_category = $inv->call($sess,”catalog_category.create”, array($par, array(“name”=>$cd[‘name’],”is_active”=>$cd[‘is_active’],”available_sort_by”=>array(‘price’),”default_sort_by”=>”price”,”include_in_menu”=>1,”position”=>$cd[‘position’],”level”=>$cd[‘level’],”parent_id”=>$cd[‘parent_id’],”created_at”=>$cd[‘created_at’],”updated_at”=>$cd[‘updated_at’],”url_key”=>$cd[‘url_key’],”description”=>$cd[‘description’],”image”=>$cd[‘image’],”meta_title”=>$cd[‘meta_title’],”meta_keywords”=>$cd[‘meta_keywords’],”meta_description”=>$cd[‘meta_description’],”display_mode”=>$cd[‘display_mode’]) ));