GET stocklocations/{stockLocationID}
Returns information about a single Stock Location
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stockLocationID | ID of the Stock Location | integer | Required |
Body Parameters
None.
Response Information
Resource Description
Returns information about a single Stock Location
StockLocationModel| Name | Description | Type | Additional 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. |
| Aisle | The warehouse aisle that the location is located | StockLocationAisleModel | None. |
| Level | The level | StockLocationLevelModel | None. |
Response Formats
application/json, text/json
Sample:
{
"TotalItems": 2,
"PagingInfo": {
"MaxPageSize": 100,
"PageSize": 1,
"Page": 1
},
"TotalPages": 1,
"Data": [
{
"StockLocationID": 1,
"StockLocationReference": "A-1",
"Warehouse": {
"WarehouseName": "My Warehouse",
"WarehouseGuid": "20a9c96d-7079-4e6a-8025-5b3079b1c78f",
"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": "25a07d65-084e-4688-a9b3-8b9f6e53a289",
"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>20a9c96d-7079-4e6a-8025-5b3079b1c78f</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>25a07d65-084e-4688-a9b3-8b9f6e53a289</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>