Inventory
An inventory is a physically tagged stock linked with a SKU and a Location in the warehouse
Fetch Inventories
GET
/wms/inventory
Use this interface to fetch a single or set of Inventory entries in for the client. This api result can be filtered to return a single or set based on various field level documented below. Result returned as response contains important informations like the sku name & number, location, quantity, allocated quantity, the client Tag, and other details. While creating a new inventory location, it initially has no inventory data associated with it. You can set inventory values for an SKU at the location.
Query Parameters
Name | Type | Description |
---|---|---|
sku_id | String | Blowhorn assigned/supplied integer unique id for the SKU like 12345 |
sku_name | String | Partial or full text matching name of the SKU like 'Wires' |
client_id | String | Warehouse Client id to which the item belongs. |
client_name | String | Warehouse Client name like 'ABC Corp' either full or partial for search |
site_id | String | Warehouse site identifier which is numeric |
site_name | String | Full or partial Warehouse site name for search. |
mfg_date_start | String | Date in the form of YYYY-MM-DD which indicates start filter which is inclusive to filter the result on manufactured date of the inventory. |
mfg_date_end | String | Date in the form of YYYY-MM-DD which indicates end filter which is inclusive to filter the result on manufactured date of the inventory. |
expiry_date_start | String | Date in the form of YYYY-MM-DD which indicates start filter which is inclusive to filter the result on expiry date of the inventory. |
expiry_date_end | String | Date in the form of YYYY-MM-DD which indicates end filter which is inclusive to filter the result on expiry date of the inventory. |
tag | String | Full or partial tag value to filter the inventory result. If passed full value like `TAG-1Y28W7L` then result will be only one inventory returned matching to the tag. |
Headers
Name | Type | Description |
---|---|---|
API_KEY* | string | Contact Blowhorn team for API Key |
Create Inventory
POST
/wms/inventory
This api used to create an inventory entry. All below mentioned important informations regarding inventory the sku number, location quantity, allocated quantity, the client and other details needs to be passed as per the contract as documented below.
Headers
Name | Type | Description |
---|---|---|
API_KEY* | String | Contact Blowhorn team for API Key |
Request Body
Name | Type | Description |
---|---|---|
tag* | String | Client tag to be associated with this inventory. Ex: 'TAG-1Y28W7L' |
sku | Integer | Unique identifier of the SKU. Note: This is conditionally optional. Either sku or sku_name should be provided for identifying the SKU for adding the inventory. |
sku_name | String | Unique name of the SKU. Note: This is conditionally optional. Either sku or sku_name should be provided for identifying the SKU for adding the inventory. |
pack_config | Integer | Unique identifier of the pack config of the associated SKU of this inventory. Note: This is conditionally optional. Either pack_config or pack_config_name should be provided for identifying the pack config of the SKU. |
pack_config_name | String | Unique name of the pack config of the associated SKU of this inventory. Note: This is conditionally optional. Either pack_config or pack_config_name should be provided for identifying the pack config of the SKU. |
tracking_level | Integer | Unique identifier of the tracking level of the associated SKU of this inventory. Note: This is conditionally optional. Either tracking_level or tracking_level_name should be provided for identifying the tracking level of the SKU. |
tracking_level_name | String | Unique name of the tracking level of the associated SKU of this inventory. Note: This is conditionally optional. Either tracking_level or tracking_level_name should be provided for identifying the tracking level of the SKU. |
supplier | Integer | Unique identifier of the SKU supplier for this inventory. Note: This is conditionally optional. Either supplier or supplier_name should be provided for identifying the supplier. |
supplier_name | String | Unique name of the SKU supplier for this inventory. Note: This is conditionally optional. Either tracking_level or tracking_level_name should be provided for identifying the tracking level of the SKU for adding the inventory. |
client | Integer | Warehouse Client id to which the item belongs. Note: This is conditionally optional. Either client or client_name or both can be provided for identifying a client to associate this inventory or else both can be left empty if need not to associate with any. |
client_name | String | Warehouse Client name to which the item belongs. Note: This is conditionally optional. Either client or client_name or both can be provided for identifying a client to associate this inventory or else both can be left empty if need not to associate with any. |
location | Integer | Warehouse location identifier. Note: This is conditionally optional. Either location or location_name or both can be provided for identifying a location to associate this inventory or else both can be left empty if need not to associate with any. |
location_name | String | Warehouse location name. Note: This is conditionally optional. Either location or location_name or both can be provided for identifying a location to associate this inventory or else both can be left empty if need not to associate with any. |
site | Integer | Warehouse site identifier. Note: This is conditionally optional. Either site or site_name or both can be provided for identifying a site to associate this inventory. |
site_name | String | Warehouse site name. Note: This is conditionally optional. Either site or site_name or both can be provided for identifying a site to associate this inventory. |
qty* | Integer | Total available quantity for the inventory |
allocated_qty* | Integer | allotted quantity out of existing available for the inventory for any order. |
status* | String | Status of the inventory which can be either 'Locked' or 'Unlocked' |
weight | Decimal | Total weight of the inventory. |
mfg_date | DateTime | Manufactured date of the inventory SKU items. |
expiry_date | DateTime | Expiry date of the inventory SKU items. |
dimension | Integer/String | Dimension of the inventory. Ex: '10x10x10 cc' |
remarks | String | Any additional comments or remarks to be added to the inventory. |
container | String | Container name used for this inventory. |
Below schema examples shows various combination of payload can be used for creating the inventory. 'id' for any field takes priority and if not passed then internally name field is used for lookup.
Last updated