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 stParamConnexion This is a structure
string sProductCode The product 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


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

Exemple

Request Example SOAP and PHP

                        
                        

$client = new \SoapClient($wsdl);

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

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

$args['sProductCode'] = 'MyProductCode';

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