API Commands
[All Commands]

Command: Info_Order



command Info_Order

Info about existing order

Input Parameters ($data):

string ssid Token from Login
string order Order ID

Output Responses:

string status ok | error
array data Details about your request
 
array order Order details
int id Order ID
string domain Domain name
string type Type of this order
string status Status of this order
string message Message from registry
string payed Information if order is payed or not
string amount Amount
array items Individual items in this order (only for Bulk_Payment order) (optionally)
int id Order ID
string domain Domain name
string type Type of this order
string status Status of this order
string message Message from registry
string payed Information if order is payed or not
string amount Amount

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);

$params = array (
    
"data" => array (
            
"ssid" => $token,
            
"order" => 314
    
)
);

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

?>
INPUT: [data] => Array ( [ssid] => 29ae201e12b466c7347a29 [order] => �314 ) OUTPUT: [status] => ok [data] => Array ( [order] => Array ( [id] => 314 [domain] => motyli.org [type] => UnLock_Domain [status] => Completed [message] => [payed] => 1 [amount] => 0.00 ) )

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