---
title: "getAllStorageLocations"
method: GET
path: "/storagelocation/v1/getAllStorageLocations"
tags: ["Storage Location Service"]
---

# getAllStorageLocations

`GET /storagelocation/v1/getAllStorageLocations`

getAllStorageLocationsV1 Implementation Notes

## Query parameters

- `centralStorageFlag` boolean
- `closingIntermediary` string
- `closingNonInventory` string
- `closingSales` string
- `closingStock` string
- `includeNull` boolean
- `locationCode` string, required
- `minutesSinceUpdate` integer
- `prepStationCode` string
- `secondaryClosingIntermediary` string
- `secondaryClosingNonInventory` string
- `secondaryClosingSales` string
- `secondaryClosingStock` string
- `storageCode` string
- `storageName` string

## Headers

- `authenticationtoken` string, required
- `password` string, required
- `sitename` string, required
- `userid` string, required
- `X-B3-TraceId` string

## Response `200`

Success

- StorageLocationDetails[]
  - `storageLocationDetailDetails` StorageLocationDetailsDto[]
    - `centralStorageFlag` 'N' | 'Y' — The 'Central Storage' flag for the storage location.
    - `closingIntermediary` 'B' | 'E' | 'L' | 'Z' — The “Intermediary” Primary Closing Method for the storage location.
    - `closingNonInventory` 'B' | 'E' | 'L' | 'Z' — The “Non-Stock” Primary Closing Method for the storage location.
    - `closingSales` 'B' | 'E' | 'L' | 'Z' — The “Sales” Primary Closing Method for the storage location.
    - `closingStock` 'B' | 'E' | 'L' | 'Z' — The “Stock” Primary Closing Method for the storage location.
    - `locationCode` string, required — The Code for the location to which the storage location is linked.
    - `prepStationCode` string — The Code for the Prep Station to which the storage location is linked.
    - `secondaryClosingIntermediary` 'B' | 'E' | 'L' | 'Z' — The “Intermediary” Secondary Closing Method for the storage location.
    - `secondaryClosingNonInventory` 'B' | 'E' | 'L' | 'Z' — The “Non-Stock” Secondary Closing Method for the storage location.
    - `secondaryClosingSales` 'B' | 'E' | 'L' | 'Z' — The “Sales” Secondary Closing Method for the storage location.
    - `secondaryClosingStock` 'B' | 'E' | 'L' | 'Z' — The “Stock” Secondary Closing Method for the storage location.
    - `storageCode` string, required — The Code for the storage location.
    - `storageName` string, required — The Storage Name for the storage location.

## Other responses

- `400` — Validation Error
- `401` — Authorization
- `404` — Storage Location not found
- `429` — Too Many Requests
- `500` — Unexpected Error
- `503` — System under maintenance
- `504` — Timeout

---

[API](https://skmtc.net/crunchtime/apis/inventory-labor.md) · [All operations](https://skmtc.net/crunchtime/apis/inventory-labor/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crunchtime/inventory-labor/revisions/0af8e380ff2c/schema)
