GET api/inventory/{sku}
Get inventory details for a specified sku.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
sku | The product's sku/item number. |
Define this parameter in the request URI. |
Response Information
Inventory details for the specified sku.
Response body formats
application/json, text/json
Sample:
{ "Sku": "sample string 1", "Name": "sample string 2", "Upc": "sample string 3", "ManufacturerNumber": "sample string 4", "AvailableQuantity": 5, "QuantityOnHand": 6, "DateModified": "2024-03-28T18:45:01.0942906-04:00", "Sellable": true }
application/xml, text/xml
Sample:
<Inventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Sku>sample string 1</Sku> <Name>sample string 2</Name> <Upc>sample string 3</Upc> <ManufacturerNumber>sample string 4</ManufacturerNumber> <AvailableQuantity>5</AvailableQuantity> <QuantityOnHand>6</QuantityOnHand> <DateModified>2024-03-28T18:45:01.0942906-04:00</DateModified> <Sellable>true</Sellable> </Inventory>