PUT v1/Warehouses/{warehouseId}/Product/QtyAvailable
Update the Product Quantity available in the Warehouse.
Request Information
Requires Authorization!
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| warehouseId |
The unique Warehouse Id |
integer |
Required. |
Body Parameters
The new quantity.
WarehouseProductStockUpdateInput| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductCode |
The unique Product Code (SKU) |
string |
None. |
| WarehouseLocationId |
Gets or sets the warehouse location identifier. If no location is specified, the default location will be used. |
integer |
None. |
| Qty |
Gets or sets the qty. |
decimal number |
None. |
| Reason |
Gets or sets the reason. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductCode": "sample string 1",
"WarehouseLocationId": 1,
"Qty": 2.0,
"Reason": "sample string 3"
}
application/xml, text/xml
Sample:
<WarehouseProductStockUpdateInput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ProductCode>sample string 1</ProductCode> <WarehouseLocationId>1</WarehouseLocationId> <Qty>2</Qty> <Reason>sample string 3</Reason> </WarehouseProductStockUpdateInput>
Response Information
Response Codes
- OK (200)
- NotFound (404)
Resource Description
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. |