---
title: "POST /api/public/v1/inventoryStorages/archive"
method: POST
path: "/api/public/v1/inventoryStorages/archive"
---

# POST /api/public/v1/inventoryStorages/archive

`POST /api/public/v1/inventoryStorages/archive`

## Request

- Base URL: `https://app.fortuneos.ai`
- URL: `https://app.fortuneos.ai/api/public/v1/inventoryStorages/archive`
- Auth: none declared

Archives a storage of the location: it leaves the lists and pickers and takes no stock, while its history keeps it, and the stations it served and the open order lines held on it take from the location's default again; one already archived keeps its stamp. With `moveStock`, what it keeps on hand moves into the default first, as a transfer in the same transaction. NOT_FOUND for one the location does not hold; CONFLICT as `storageDefault` for the location's default `storageHasStock` while it keeps or owes stock, `storageHeld` while an order holds stock in it, `storageImporting` while an import not finished yet posts into it and `storageHasShipments` while a shipment from or to it is in transit; FORBIDDEN without inventory post when `moveStock` asks to move stock. Refused with FORBIDDEN as `inventoryDisabled` while the inventory flag is off. Refused with FORBIDDEN as `paywallLocked` when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.

## Request body

- object
  - `locationId` string, required
  - `id` string, required
  - `moveStock` boolean

## Changes

- **2026-11-11** `8a57f722ed5a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fortis/apis/fortune-os-api/changes/api/public/v1/inventoryStorages/archive/post.md)

---

[API](https://skmtc.dev/fortis/apis/fortune-os-api.md) - [All operations](https://skmtc.dev/fortis/apis/fortune-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fortis/apis/fortune-os-api/revisions/522f3cea550d?raw)
