PUT v1/Warehouses/{warehouseId}/Product/QtyOnHand

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
warehouseId

integer

Required.

Body Parameters

Collection of WarehouseProductStockUpdateInput
NameDescriptionTypeAdditional 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 absolute (total) 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"
  },
  {
    "ProductCode": "sample string 1",
    "WarehouseLocationId": 1,
    "Qty": 2.0,
    "Reason": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWarehouseProductStockUpdateInput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <WarehouseProductStockUpdateInput>
    <ProductCode>sample string 1</ProductCode>
    <WarehouseLocationId>1</WarehouseLocationId>
    <Qty>2</Qty>
    <Reason>sample string 3</Reason>
  </WarehouseProductStockUpdateInput>
  <WarehouseProductStockUpdateInput>
    <ProductCode>sample string 1</ProductCode>
    <WarehouseLocationId>1</WarehouseLocationId>
    <Qty>2</Qty>
    <Reason>sample string 3</Reason>
  </WarehouseProductStockUpdateInput>
</ArrayOfWarehouseProductStockUpdateInput>

Response Information

Response Codes

  • OK (200)
  • NotFound (404)

Resource Description


HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.