GET api/Inventories/{id}?WarehouseId={WarehouseId}&EndDate={EndDate}

Retrieves the inventory levels for an item in a warehouse at the end of a supplied date.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Required. The ItemId from the WMS system.

integer

Required

WarehouseId

Required. The WarehouseId from the WMS system.

integer

Required

EndDate

Optional. If not supplied, then the current date will be used. If supplied, then the inventory will be retrieved for the balances at the end of the day on the supplied date.

date

Required

Body Parameters

None.

Response Information

Resource Description

Inventory
NameDescriptionTypeAdditional information
WarehouseId

Acceptable values are: 1 (for Salt Lake City, UT) or 2 (for Memphis, TN)

integer

None.

ItemId

Unique identifier from the ISC WMS system that is assigned at item creation, and it can be used as the id parameter.

integer

None.

SKU

SKU identifier assigned to the item.

string

None.

SKU2

An alternate SKU identifier assigned to the item.

string

None.

ASIN

ASIN identifier assigned to the item.

string

None.

FNSKU

FNSKU identifier assigned to the item.

string

None.

ItemName

Name/Description given to the item.

string

None.

ItemQuantity

Inventory level of the item.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "WarehouseId": 2,
  "ItemId": 3,
  "SKU": "sample string 4",
  "SKU2": "sample string 5",
  "ASIN": "sample string 6",
  "FNSKU": "sample string 7",
  "ItemName": "sample string 8",
  "ItemQuantity": 9
}

application/xml, text/xml

Sample:
<Inventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISCAPI2.Models">
  <ASIN>sample string 6</ASIN>
  <FNSKU>sample string 7</FNSKU>
  <InventoryId>1</InventoryId>
  <ItemId>3</ItemId>
  <ItemName>sample string 8</ItemName>
  <ItemQuantity>9</ItemQuantity>
  <SKU>sample string 4</SKU>
  <SKU2>sample string 5</SKU2>
  <WarehouseId>2</WarehouseId>
</Inventory>