---
title: "saveStorageLocations"
method: POST
path: "/storagelocation/v1/saveStorageLocations"
tags: ["Storage Location Service"]
---

# saveStorageLocations

`POST /storagelocation/v1/saveStorageLocations`

saveStorageLocations Implementation Notes

## Headers

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

## Request body

- StorageLocationDetailsList — StorageLocationDetailsList description
  - `locationCode` string, required — The Code for the location associated with the storage location.
  - `storageLocationDetails` 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.

## Response `200`

Success

- StorageLocationDetailsList — StorageLocationDetailsList description
  - `locationCode` string, required — The Code for the location associated with the storage location.
  - `storageLocationDetails` 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
- `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)
