updateStockCount

Navigation:  WebService Calls > Basic Integration >

updateStockCount

Previous pageReturn to chapter overviewNext page

Texte ein-/ausblenden

Description

Update available stock for the standard warehouse.

 

For additional Growth options see also the full updateStockCount call.

Request - Sample

Code

Request - Basic Field List

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 - Sample

Code

Response - Basic Field List

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


Notes

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.

 

Changelog

Version

Change Description

4.8.46

Introduction of a Basic "Simplified" Integration