Open session

					string sessionOpen(string idReseller, string password, string language)

Open a new API session.

In order to connect the API, you will need to instanciate a SoapClient object with a WSDL URL and open a session with your credentials. More information in the Get Started section


  • idReseller string (8)
    Reseller account ID
  • password string
    Reseller account password
  • language string (2)
    Language for messages. Values : “FR”, “EN”

String (32) containing a session ID

The session ID must be kept for next function calls.

$clientSOAP = new SoapClient("http://URL.wsdl");
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN");       
catch(SoapFault $fault) 
      echo "KO\n"; 
      echo "Exception : " .$fault->getMessage(). "\n"; 
if (isset($idSession)) { $clientSOAP->sessionClose($idSession); } ?>