Get product availability by id

Request
query Parameters
productId
required
integer <int32>

Internal id of the product to get.

statusSeed
required
string

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.

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 Body schema:

The actual list of warehouses to check OnHand for. OnHand in Warehouse is ignored.

Array
StoreId
integer or null <int32>

The store internal id for the current store. Can be null if WarehouseId and LocationId are supplied.

WarehouseId
integer or null <int32>

The internal id for the warehouse. Can be null if StoreId is supplied.

LocationId
integer or null <int32>

The internal id for the warehouse location. Can be null if StoreId is supplied.

object <OnHand> (OnHand)
Responses
200

Success

500

Internal Server Error

post/ProductService.svc/rest/GetProductOnHandByProduct
Request samples
[
  • {
    }
]
Response samples
{
  • "ProductId": 0,
  • "Warehouses": [
    ],
  • "Variants": [
    ]
}