PUT v1/Warehouses/{warehouseId}/Product/{productCode}/Location/{locationId}/AddQtyOnHand/{qty}
Adds or reduces the quantity on hand.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
warehouseId |
The warehouse id |
integer |
Required. |
productCode |
The product code |
string |
Required. |
locationId |
The locaton id |
integer |
Required. |
qty |
The positive value to add or negative to reduce |
decimal number |
Required. |
Body Parameters
The reason
AddQtyOnHandInputReasonName | Description | Type | Additional information |
---|---|---|---|
Reason | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Reason": "sample string 1" }
application/xml, text/xml
Sample:
<AddQtyOnHandInputReason xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Reason>sample string 1</Reason> </AddQtyOnHandInputReason>
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. |