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 | stConnexion | This is a structure |
| string | sCustomerCode | The customer code |
stConnexion
| 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 | sCity | The city name |
| string | sCountry | The country address |
| string | sIso | The iso address when available |
Exemple
Request Example SOAP and PHP
$client = new \SoapClient($wsdl);
$args['stConnexion']['sLogin'] = "test";
$args['stConnexion']['sKey'] = "000";
$args['sCustomerCode'] = 'MyCustomerCode';
$return = $client->address_list($args);
These fields are optional !
These fields are new !