PUT v1/Warehouses/Stock/Move
Moves stock
Request Information
Requires Authorization!
URI Parameters
None.
Body Parameters
The parameters
MoveStockParametersName | Description | Type | Additional information |
---|---|---|---|
ProductCode | string |
Required |
|
FromLocationId | integer |
Required Range: inclusive between 1 and 2147483647 |
|
ToLocationId | integer |
Required Range: inclusive between 1 and 2147483647 |
|
Quantity | integer |
Required Range: inclusive between 1 and 2147483647 |
|
Reason | string |
None. |
|
MoveStockStartWithAvailableStock |
Defaults to true |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProductCode": "sample string 1", "FromLocationId": 1, "ToLocationId": 1, "Quantity": 1, "Reason": "sample string 2", "MoveStockStartWithAvailableStock": true }
application/xml, text/xml
Sample:
<MoveStockParameters xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ProductCode>sample string 1</ProductCode> <FromLocationId>1</FromLocationId> <ToLocationId>1</ToLocationId> <Quantity>1</Quantity> <Reason>sample string 2</Reason> <MoveStockStartWithAvailableStock>true</MoveStockStartWithAvailableStock> </MoveStockParameters>
Response Information
Response Codes
- OK (200)
Resource Description
The HttpResponseMessage object
HttpResponseMessage
Name | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |