How Can We Help?
< All Topics
Print

Query Inventory Detail, V2.0

Get a list of your item inventory data by query parameters, version 2.0. This is an updated version of Query Inventory Detail with additional query filters are available.

  • URL: {API root URL}/inventory/v2?{query}
  • Method: GET

Request

URL Parameters

Parameter NameRequiredData TypeDescription
pageSizeYIntegerSpecify how many records to return in single call, up to 200.
pageNumberYIntegerSpecify which page you are querying, starts from 1.
customerCodeYStringYour unique customer code assigned by Best system.
warehouseCode StringSpecify the warehouse you want to query the inventory data, value could be “USCA01” or “USNJ01”, empty means querying all applicable warehouses.
conditionStringIndicate the item condition. Available values: Good or Damaged. Default value is for all conditions.
consolidateConditionsBooleanIndicates the result should group inventory by SKU and warehouse regardless condition. Default value is false.
content.value StringThe keyword you want to match the item for the inventory query, it will match with item’s SKU number, Description and UPC.
content.exactMatchBooleanIndicates the result should match the exact words you’ve included in content.value.
includeOutOfStock BooleanIndicates if the items with zero inventory should be returned or not, default value is false.

Response

Attribute List

Element NameData TypeDescription
totalCountIntegerThe count of returned records.
pageNumberIntegerSame value as requested
pageSizeIntegerSame value as requested
resultArray<Object>The inventory data list.
result/idStringThe internal ID
result/itemIdStringThe internal ID of the SKU.
result/customerCodeStringYour unique customer code assigned by BEST system.
result/warehouseCodeStringThe warehouse for the invenory data.
result/skuStringThe number of the SKU.
result/descriptionStringThe title of your SKU
result/conditionStringIndicate the item condition of inventory.
result/orderBehaviorStringIndicate if current SKU is set for pre-order. The default value is Normal for regular items.
result/totalQtyIntegerThe total inventory quantity of current SKU.
result/availableQtyIntegerThe available quantity of the SKU in current warehouse.
result/allocatedQtyIntegerThe quantity of the SKU that is allocated by all open orders in current warehouse.
result/quarantinedQtyIntegerThe quantity of the SKU that is quarantined in current warehouse.
result/holdQtyIntegerThe quantity of the SKU that is on hold in current warehouse.
result/duePutAwayQtyIntegerThe quantity of the SKU in the ASN which is received by Best Inc. warehouse and waiting for putaway.
result/dueInQtyIntegerThe quantity of the SKU that was created into an open ASN but not received into Best Warehouse.
result/extraQtyIntegerThe quantity of the inventory difference or excess of current item.
result/MissingQtyIntegerThe quantity of the inventory difference or shortage of current item.

Response Example

{
    "totalCount": 2,
    "pageNumber": 1,
    "pageSize": 15,
    "pageCount": 1,
    "result": [
        {
            "id": 181,
            "itemId": 46452,
            "customerCode": "USQA",
            "warehouseCode": "USCA01",
            "sku": "SKU3",
            "description": "USQA SKU3",
            "condition": "Good",
            "orderBehavior": "Normal",
            "totalQty": 100164,
            "availableQty": 99905,
            "allocatedQty": 177,
            "quarantinedQty": 0,
            "holdQty": 0,
            "dueInQty": 1050,
            "duePutAwayQty": 82,
            "extraQty": 0,
            "missingQty": 0
        },
        {
            "id": 537,
            "itemId": 46452,
            "customerCode": "USQA",
            "warehouseCode": "USCA01",
            "sku": "SKU3",
            "description": "USQA SKU3",
            "condition": "Damaged",
            "orderBehavior": "Normal",
            "totalQty": 0,
            "availableQty": 0,
            "allocatedQty": 0,
            "quarantinedQty": 0,
            "holdQty": 0,
            "dueInQty": 0,
            "duePutAwayQty": 0,
            "extraQty": 0,
            "missingQty": 0
        }
    ]
}
Next Query Inventory Batch Info
Table of Contents