GET stocklocations/{stockLocationID}

Returns information about a single Stock Location

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stockLocationID ID of the Stock Location integer Required

Body Parameters

None.

Response Information

Resource Description

Returns information about a single Stock Location

StockLocationModel
NameDescriptionTypeAdditional information
StockLocationID The ID for the StockLocation integer Required
StockLocationReference The reference for the stock location. string None.
Warehouse The warehouse for the stocklocation WarehouseBaseModel None.
StockLocationType The type of the stock location. I.e. Pickbin, Bulk Location.. StockLocationType None.
KeepProduct Keep product determines whether when the stock location inventory for a product reaches 0 whether the stock location will retain the product or it will be removed. This is unavailable for accounts without multiple stock locations. boolean None.
LocationOrder This is the priority of the stock location. A location order of 1 will be picked before 10. integer None.
IsEmpty This is whether the stock locations contains any products. boolean None.
HasProducts This is whether the stock location has products associated to it. boolean None.
IsSystem This indicates if the stock location has been created automatically by StoreFeeder rather than by the user boolean None.
IsQuarantined This indicates if the stock location's stock is used when calculating the sellable stock that is sent to channel boolean None.
WarehouseZone The warehouse zone for the stocklocation WarehouseZoneBaseModel None.

Response Formats

application/json, text/json

Sample:
{
  "TotalItems": 2,
  "PagingInfo": {
    "PageSize": 1,
    "Page": 1
  },
  "TotalPages": 1,
  "Data": [
    {
      "StockLocationID": 1,
      "StockLocationReference": "A-1",
      "Warehouse": {
        "WarehouseName": "My Warehouse",
        "WarehouseGuid": "cd72fe01-0114-4061-bf7b-41edef1a1b1e",
        "WarehouseID": 1
      },
      "StockLocationType": "Pickbin",
      "KeepProduct": false,
      "LocationOrder": 1,
      "IsEmpty": false,
      "HasProducts": false,
      "IsSystem": false,
      "IsQuarantined": false
    },
    {
      "StockLocationID": 2,
      "StockLocationReference": "Bulk1",
      "Warehouse": {
        "WarehouseName": "My Warehouse",
        "WarehouseGuid": "1bad8b62-2824-4f9b-9222-5693dfc48354",
        "WarehouseID": 1
      },
      "StockLocationType": "BulkLocation",
      "KeepProduct": true,
      "LocationOrder": 199,
      "IsEmpty": false,
      "HasProducts": false,
      "IsSystem": false,
      "IsQuarantined": true
    }
  ]
}

application/xml, text/xml

Sample:
<PagedStockLocationModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TotalItems>2</TotalItems>
  <PagingInfo>
    <PageSize>1</PageSize>
    <Page>1</Page>
  </PagingInfo>
  <TotalPages>1</TotalPages>
  <Data>
    <StockLocationModel>
      <StockLocationID>1</StockLocationID>
      <StockLocationReference>A-1</StockLocationReference>
      <LocationOrder>1</LocationOrder>
      <Warehouse>
        <WarehouseName>My Warehouse</WarehouseName>
        <WarehouseGuid>cd72fe01-0114-4061-bf7b-41edef1a1b1e</WarehouseGuid>
        <WarehouseID>1</WarehouseID>
      </Warehouse>
      <StockLocationType>Pickbin</StockLocationType>
      <IsQuarantined>false</IsQuarantined>
      <KeepProduct>false</KeepProduct>
      <IsEmpty>false</IsEmpty>
      <HasProducts>false</HasProducts>
      <IsSystem>false</IsSystem>
    </StockLocationModel>
    <StockLocationModel>
      <StockLocationID>2</StockLocationID>
      <StockLocationReference>Bulk1</StockLocationReference>
      <LocationOrder>199</LocationOrder>
      <Warehouse>
        <WarehouseName>My Warehouse</WarehouseName>
        <WarehouseGuid>1bad8b62-2824-4f9b-9222-5693dfc48354</WarehouseGuid>
        <WarehouseID>1</WarehouseID>
      </Warehouse>
      <StockLocationType>BulkLocation</StockLocationType>
      <IsQuarantined>true</IsQuarantined>
      <KeepProduct>true</KeepProduct>
      <IsEmpty>false</IsEmpty>
      <HasProducts>false</HasProducts>
      <IsSystem>false</IsSystem>
    </StockLocationModel>
  </Data>
</PagedStockLocationModel>