# Get product availability by part number Endpoint: POST /GetProductOnHandByPartNo Version: 1.1 ## Query parameters: - `partNo` (string, required) Part number of the product to get. - `statusSeed` (string, required) Accepts a comma separated string of Status internal ids. Lookup references in ListStatuses. - `pricelistSeed` (string) A comma separated list of PriceList internal ids to use, if any. PriceLists supplied must be valid, either from the application's public priceList or any customer or company priceLists or any valid client priceLists. For clients configured to use priceListSeed exclusively in the API only the supplied priceLists will be used. If this is not configured, the supplied priceLists will be appended to the valid priceLists. If none is supplied, the default value for the application will be used in combination with any customer or company priceLists. This applies to both configurations. - `customerId` (string) Customer internal id. Checks for specific customer bound prices if provided. - `companyId` (string) Company internal id. Checks for specific company bound prices if provided. Note! customerId is mandatory in combination with companyId. - `cultureCode` (string) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application. - `currencyId` (string) Specifies in which currency to display prices. Uses Storm internal ids. If none is supplied, value is resolved from Application. ## Request fields (application/json): - `StoreId` (integer,null) The store internal id for the current store. Can be null if WarehouseId and LocationId are supplied. - `WarehouseId` (integer,null) The internal id for the warehouse. Can be null if StoreId is supplied. - `LocationId` (integer,null) The internal id for the warehouse location. Can be null if StoreId is supplied. - `OnHand` (object) - `OnHand.Value` (number) The aggregated value from all warehouses and locations in the current context (Web, Supplier or Store). - `OnHand.IncomingValue` (number) The incoming quantity on the next delivery. - `OnHand.NextDeliveryDate` (string,null) The next delivery data from supplier to client warehouse. - `OnHand.LeadtimeDayCount` (integer,null) The number of days it takes to ship from the supplier. - `OnHand.LastChecked` (string,null) When onHand info was last checked. Null if never. - `OnHand.IsActive` (boolean) Indicate if the product is stocked in a store. - `OnHand.IsReturnable` (boolean) Indicate if the product is returnable in a store. - `OnHand.Info` (array) List of IdValues for the OnHand data for this sku warehouse location combination. This will always be null unless fetched with any of the ProductOnHand methods. - `OnHand.Info.Id` (integer) The internal Id of the Entity. This Id might be different in different tiers such as Stage and Production. Use Code if hard coding is required. - `OnHand.Info.Value` (string) The Value of the Entity. MaxLength: max. - `OnHand.Info.Code` (string) The Code of the Entity, if existing. Use this value when hard coding is required. MaxLength: 255. ## Response 200 fields (application/json): - `ProductId` (integer) The product internal id for the current product/variant. If the entity is fetched by productId it will be that productId. If the product is fetched by partNo it will be the productId for that variant. - `Warehouses` (array) A list of warehouses with OnHand for the product. - `Warehouses.StoreId` (integer,null) The store internal id for the current store. Can be null if WarehouseId and LocationId are supplied. - `Warehouses.WarehouseId` (integer,null) The internal id for the warehouse. Can be null if StoreId is supplied. - `Warehouses.LocationId` (integer,null) The internal id for the warehouse location. Can be null if StoreId is supplied. - `Warehouses.OnHand` (object) - `Warehouses.OnHand.Value` (number) The aggregated value from all warehouses and locations in the current context (Web, Supplier or Store). - `Warehouses.OnHand.IncomingValue` (number) The incoming quantity on the next delivery. - `Warehouses.OnHand.NextDeliveryDate` (string,null) The next delivery data from supplier to client warehouse. - `Warehouses.OnHand.LeadtimeDayCount` (integer,null) The number of days it takes to ship from the supplier. - `Warehouses.OnHand.LastChecked` (string,null) When onHand info was last checked. Null if never. - `Warehouses.OnHand.IsActive` (boolean) Indicate if the product is stocked in a store. - `Warehouses.OnHand.IsReturnable` (boolean) Indicate if the product is returnable in a store. - `Warehouses.OnHand.Info` (array) List of IdValues for the OnHand data for this sku warehouse location combination. This will always be null unless fetched with any of the ProductOnHand methods. - `Warehouses.OnHand.Info.Id` (integer) The internal Id of the Entity. This Id might be different in different tiers such as Stage and Production. Use Code if hard coding is required. - `Warehouses.OnHand.Info.Value` (string) The Value of the Entity. MaxLength: max. - `Warehouses.OnHand.Info.Code` (string) The Code of the Entity, if existing. Use this value when hard coding is required. MaxLength: 255. - `Variants` (array) An optional list of ProductOnHand for all variants if fetched by productId. Null when fetched for a variant or a basket.