Developer documentation for Stargest SOAP API

Ressource : Customer

Description

Allow you to get all delivery address from a customer.

Method

address_list

Arguments

Type Name Description
array stParamConnexion This is a structure
string sCustomerCode The customer code

stParamConnexion

Type Name Description
string sLogin The login provided see the get started Configuration
string sKey The Key provided see the get started Configuration

Return


address_listResult

Type Name Description
array stProcessing This is a structure of the success/error process
array stDatas This is a structure that contains the data resulting from the query

stProcessing

Type Name Description
string sErrorMessage This is a structure
boolean bProcessed This is the result of the request traitement processing

stDatas

Type Name Description
integer nIdAddress The ID of the address
string sName The name of the address
string sAddress The physical address
string sPostalCode The zip code
string sCountry The country address

Exemple

Request Example SOAP and PHP

                        
                        

$client = new \SoapClient($wsdl);

$args['stParamConnexion']['sLogin'] = "test";

$args['stParamConnexion']['sKey'] = "000";

$args['sCustomerCode'] = 'MyCustomerCode';

$return = $client->address_list($args);