API Commands
[All Commands]

Order: Modify_Domain



order type Modify_Domain


Modify existing domain to new values. For DNSSEC extension please see full specification here.

Input Parameters ($params):

contact registrant Owner contact of new domain
array contacts
contact admin Administrative contact
contact tech Technical contact
contact billing Billing contact
array ns
host hosts Hostnames of nameservers
string nsset Nameserver Set (only for FRED registries (.CZ,.EE,...))
array statuses (clientHold, clientTransferProhibited, .. )
array params Any others params - please see below
string authid New authorization code

Sample:


<?php
$client 
= new SoapClient(
        
null
        array(
            
"location" => "https://PRODUCTION/soap/cmd.php",
            
"uri" => "http://PRODUCTION/soap"
            
)
        );

$params = array ( 
    
"data" => array (
        
"login" => "demo",
        
"password" => "password",
    )
);

$response $client->__call("Login",$params);

$token $response["data"]["ssid"];

unset(
$params);

$hosts = array("ns.domena.com","ns2.domena.com",
    
"ns3.domena.com","ns4.domena.com",
    
"ns5.domena.com");

foreach(
$hosts as $host){
    
$ns[]["hostname"] = $host;
}

$params = array ( 
    
"data" => array (
    
"ssid" => $token,
    
"order" => array (
        
"type" => "Modify_Domain",
        
"domain" => "domena-12.or.af",
        
"params" => array (
            
"contacts" => array (
                
"admin" => array (
                    
"regid" => "G-000001",
                ),
                
"tech" => array (
                    
"regid" => "G-000001",
                ),
            ),
            
"ns" => array (
                
"hosts" => $ns,
            )
            
"statuses" => array ("clientTransferProhibited"),
            
"params" => array (
                
"authid" => "ukulele"
            
)
        )
    )
     )
);

$response $client->__call("Make_Order",$params);

?>
OUTPUT: [status] => ok [data] => Array ( [orderid] => 24 )

API Manual - version from 2023-05-12 12:15:50