Developer documentation for Stargest SOAP API
Ressource : Inventory
Description
Allow you to get all inventory info about a collection code .
Method
inventory_collection
Arguments
| Type | Name | Description |
|---|---|---|
| array | stConnexion | This is a structure |
| string | sCollectionCode | The collection 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
inventory_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 | sProductCode | The product code |
| string | sColorCode | The color code of the product |
| string | sSize | The size attribut label |
| string | sGenCode | The EAN code |
| string | sStockAvailable | The inventory available |
| string | sStockTheoretical | The inventory theoretical |
| string | sStockReal | The inventory real |
| string | sStockAvailableSecurity | The inventory Available with security module (if installed on stargest) |
Exemple
Request Example SOAP and PHP
$client = new \SoapClient($wsdl);
$args['stConnexion']['sLogin'] = "test";
$args['stConnexion']['sKey'] = "000";
$args['sCollectionCode'] = '0000';
$args['sWarehouseCode'] = 'WarehouseCode';
$return = $client->inventory_collection($args);
These fields are optional !
These fields are new !