Developer documentation for Stargest SOAP API
Ressource : Inventory updated
Description
allows you to retrieve all the eventful product since a date.
Method
product_movement
Arguments
Type | Name | Description |
---|---|---|
array | stConnexion | This is a structure |
date | sFrom | date format 'YYYY-MM-DD HH:ii:SS' |
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
product_movementResult
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 | sProductCode | The product code |
string | sModifiedAt | Last update date of the stock |
Exemple
Request Example SOAP and PHP
$client = new \SoapClient($wsdl);
$args['stConnexion']['sLogin'] = "test";
$args['stConnexion']['sKey'] = "000";
$args['sFrom'] = '2019-01-01';
$return = $client->product_movement($args);
These fields are optional !
These fields are new !