SetStocksTransfer

The SetStocksTransfer call allows you to transfer stock from one storage location to another.

This call is available since SOAP version 100.
A maximum of 25 stock transfers can be made at once.

SetStocksTransfer Input

Field Type Occurrence Meaning Available since
CallItemsLimit Integer Optional Call items limit for own server 112
StockTransfers ObjectRequired List of incoming stocks 105
StockTransfers.
PlentySoapObject_SetStocksTransfer.
CreditorID
Integer Optional Creditor ID 105
StockTransfers.
PlentySoapObject_SetStocksTransfer.
CurrentLocation
ObjectRequired Current position 105
StockTransfers.
PlentySoapObject_SetStocksTransfer.
CurrentLocation.
PlentySoapObject_StockLocation.
StorageLocation
String Optional Storage location ID 105
StockTransfers.
PlentySoapObject_SetStocksTransfer.
CurrentLocation.
PlentySoapObject_StockLocation.
WarehouseID
Integer Optional Warehouse ID 105
StockTransfers.
PlentySoapObject_SetStocksTransfer.
EAN
String Optional EAN 105
StockTransfers.
PlentySoapObject_SetStocksTransfer.
NewLocation
ObjectRequired New position 105
StockTransfers.
PlentySoapObject_SetStocksTransfer.
NewLocation.
PlentySoapObject_StockLocation.
StorageLocation
String Optional Storage location ID 105
StockTransfers.
PlentySoapObject_SetStocksTransfer.
NewLocation.
PlentySoapObject_StockLocation.
WarehouseID
Integer Optional Warehouse ID 105
StockTransfers.
PlentySoapObject_SetStocksTransfer.
PhysicalStock
String Required Physical stock 105
StockTransfers.
PlentySoapObject_SetStocksTransfer.
Reason
Integer Optional Reason 105
StockTransfers.
PlentySoapObject_SetStocksTransfer.
SKU
String Required SKU 105

SetStocksTransfer Input schema

The box below lists all fields that could be included in the call request (version 112). To learn more about an individual field or its type, click its name in the box.

SetStocksTransfer Output

Field Type Occurrence Meaning Available since
ResponseMessages ObjectOptional Returns a list of error messages for the current call. 112
ResponseMessages.
PlentySoapResponseMessage.
Code
Integer Optional Code 105
ResponseMessages.
PlentySoapResponseMessage.
ErrorMessages
ObjectOptional Sub Messages 110
ResponseMessages.
PlentySoapResponseMessage.
ErrorMessages.
PlentySoapResponseSubMessage.
Key
String Optional Key 109
ResponseMessages.
PlentySoapResponseMessage.
ErrorMessages.
PlentySoapResponseSubMessage.
Value
String Optional Value 109
ResponseMessages.
PlentySoapResponseMessage.
IdentificationKey
String Optional Message 110
ResponseMessages.
PlentySoapResponseMessage.
IdentificationValue
String Optional Message 110
ResponseMessages.
PlentySoapResponseMessage.
SuccessMessages
ObjectOptional Sub Messages 110
ResponseMessages.
PlentySoapResponseMessage.
SuccessMessages.
PlentySoapResponseSubMessage.
Key
String Optional Key 109
ResponseMessages.
PlentySoapResponseMessage.
SuccessMessages.
PlentySoapResponseSubMessage.
Value
String Optional Value 109
ResponseMessages.
PlentySoapResponseMessage.
Warnings
ObjectOptional Sub Messages 110
ResponseMessages.
PlentySoapResponseMessage.
Warnings.
PlentySoapResponseSubMessage.
Key
String Optional Key 109
ResponseMessages.
PlentySoapResponseMessage.
Warnings.
PlentySoapResponseSubMessage.
Value
String Optional Value 109
Success Boolean Optional Has the value true or false, depending on whether a request worked. 112

SetStocksTransfer Output schema

The box below lists all fields that could be included in the response call (version 112). To learn more about an individual field or its type, click its name in the box.

Identification Keys

(The dynamicValue stands for any parameter values that could be outputted.)

Key Value
SKU dynamicValue

Identification Output schema

The box below lists all identification fields that could be outputted in the call response (version 112). The dynamicValue stands for any parameter values that could be outputted. To learn more about an individual field or its type, click its name in the box.

Success messages

(The dynamicValue stands for any parameter values that could be outputted.)

Code Key Value Message Explanation
100 - - - Stock of the SKU was transferred.

Success Messages Output schema

For this call no success messages output schema exists.

Error messages

Code Key Value Message Explanation
800 SKU Missing parameter Required parameter was not entered
r 800 SKU Invalid parameter The value of entered parameter is not allowed
800 PhysicalStock Missing parameter Required parameter was not entered
810 Limit 25 Max items limit 25 The request contains more items than the maximum of 50 items
800 CurrentLocation: WarehouseID Missing parameter Required parameter was not entered
800 NewLocation: WarehouseID Missing parameter Required parameter was not entered
800 NewLocation: StorageLocation Missing parameter The position in the new warehouse is invalid or was not entered.

Error messages Output schema

The box below lists all error message fields that could be outputted in the call response (version 112). To learn more about an individual field or its type, click its name in the box.

<ErrorMessages>
<item>
<Value>Missing parameter</Value>
</item>
<item>
<Value>Invalid parameter</Value>
</item>
<item>
<Value>Missing parameter</Value>
<Key>PhysicalStock</Key>
</item>
<item> </item>
<item>
<Value>Missing parameter</Value>
<Key>CurrentLocation: WarehouseID</Key>
</item>
<item>
<Value>Missing parameter</Value>
<Key>NewLocation: WarehouseID</Key>
</item>
<item>
<Value>Missing parameter</Value>
<Key>NewLocation: StorageLocation</Key>
</item>
</ErrorMessages>

Warnings

Code Key Value Message Explanation
110 EAN Unused parameter Parameter was not entered. A default value was used for the call.

Warnings Output schema

The box below lists all warning fields that could be outputted in the call response (version 112). To learn more about an individual field or its type, click its name in the box.

<Warnings>
<item>
<Value>Unused parameter</Value>
</item>
</Warnings>
Nach oben