Update available stock for the standard warehouse.
For additional Growth options see also the full updateStockCount call. |
<request method="updateStockCount" version="1.0.0"> <item significant_key="internal_item_number"> <mandator_id>1</mandator_id> <internal_item_number>item_11111</internal_item_number> <stock_items> <stock_item> <mandator_id>1</mandator_id> <warehouse_code>standard</warehouse_code> <stock_count>10</stock_count> <absolute>false</absolute> </stock_item> </stock_items> </item> </request> |
Name |
Description |
Occ.. |
Type |
Value Info |
---|---|---|---|---|
request |
Root-Element of request. |
1 |
Element |
|
method |
Attribute of request. Name of Webservice-Method. |
1 |
string |
Fixed value: „updateStockCount“ |
version |
Attribute of request. Version control of request. |
1 |
integer |
Fixed value: „1.0.0“ |
item |
Wrapper-Element, summarizing the data of the item. |
0..N |
Element |
|
significant_key |
Selected identifier for StockCount updates. |
1 |
string |
Fixed value: „internal_item_number“ |
mandator_id |
ID of client. |
1 |
integer |
|
internal_item_number |
internal item number |
1 |
string |
Length: 0-50 characters Please see notes |
stock_items |
Wrapper-Element, summarizing the data of stocks. |
0..1 |
Element |
|
stock_item |
Wrapper-Element, summarizing the data of stock. |
1..N |
Element |
|
mandator_id |
ID of client. |
1 |
integer |
|
warehouse_code |
identification of warehouse based on warehouse code as defined in Speed4Trade CONNECT |
1 |
string |
Please see notes |
stock_count |
warehouse stock count of this item |
1 |
integer |
|
absolute |
absolute or relative stock count will be used |
1 |
boolean |
<response method="updateStockCount" version="1.0.0"> <report return_code="<0"> <error_description>Error Description for Item Element in the request</error_description> </report> </response> |
Name |
Description |
Occ. |
Type |
Value Info |
---|---|---|---|---|
request |
Root-Element of request |
1 |
Element |
|
method |
Attribute of request. Name of Webservice-Method. |
1 |
string |
Fixed value: „updateStockCount“ |
version |
Attribute of request. Version control of request. |
1 |
integer |
Fixed value: „1.0.0“ |
report |
Information about executed operation. A report element is returned for each requested item element. |
0..N |
Element |
|
return_code |
Attribute of report. Identifies error reason code. |
1 |
integer |
0 = OK. < 0 = error |
error_description |
Describes errors and error reasons of executed operation, once appeared. |
0..1 |
string |
•Element internal_item_number is mandatory. •Element warehouse_code is mandatory. •To update stock of Set- and Variation-Parent Items requires the according option to be selected for the client in Speed4Trade CONNECT (Option: Set parent-item-stockcount allowed). Otherwise the available stock of parent items will be calculated by Speed4Trade CONNECT based on the available child stock count. |
Version |
Change Description |
---|---|
4.8.46 |
Introduction of a Basic "Simplified" Integration |