GET retail_services/StockLevel?ProductId={ProductId}&WarehouseId={WarehouseId}

GET method, Requires Basic Authentication. This method returns stock availablity for the product.

Request Information

Parameters

NameDescriptionAdditional information
ProductId
This is required parameter.

Define this parameter in the request URI.

WarehouseId
This is required parameter.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "ProductID": 1,
    "WarehouseID": 2,
    "ProductDescription": "sample string 3",
    "StockAvailable": 4
  },
  {
    "ProductID": 1,
    "WarehouseID": 2,
    "ProductDescription": "sample string 3",
    "StockAvailable": 4
  },
  {
    "ProductID": 1,
    "WarehouseID": 2,
    "ProductDescription": "sample string 3",
    "StockAvailable": 4
  }
]