Developer documentation for Stargest SOAP API
Ressource : Price
Description
Allow you to get all price informations for a product code.
Method
price_info
Arguments
Type | Name | Description |
---|---|---|
array | stConnexion | This is a structure |
string | sProductCode | The product code |
string | sCustomerCode | The customer code mandatory if agent is empty |
string | sAgentCode | The agent code mandatory if customer is empty |
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
price_infoResult
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 |
---|---|---|
string | sCustomerCode | The customer code |
string | sAgentCode | The agent code |
string | sProductCode | The product code |
string | sGenCode | The EAN code |
string | sColorCode | The color code |
string | sSize | The size attribut label |
string | mPrice | The specifiq price for agent or customer |
string | sCurrency | The currency used by customer or agent (EUR default) is set if none |
Exemple
Request Example SOAP and PHP
$client = new \SoapClient($wsdl);
$args['stConnexion']['sLogin'] = "test";
$args['stConnexion']['sKey'] = "000";
$args['sProductCode'] = 'MyProductCode';
$args['sCustomerCode'] = 'ClientCode';
$return = $client->price_info($args);
These fields are optional !
These fields are new !