---
title: "POST /api/public/v1/inventory/stock"
method: POST
path: "/api/public/v1/inventory/stock"
---

# POST /api/public/v1/inventory/stock

`POST /api/public/v1/inventory/stock`

## Request

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

Every product of the location's organization with its stock there: on hand, value (null without cost access or while no stock has a known cost), linked suppliers and the latest movement, plus when stock there last changed, summed over its storages or in the one `storageId` names. Archived products only with `includeArchived`. 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
  - `includeArchived` boolean
  - `storageId` string

## Response `200`

OK

- object
  - `rows` object[], required
    - `id` string, required
    - `name` string, required
    - `baseUnit` 'g' | 'ml' | 'pcs', required
    - `archived` boolean, required
    - `categoryId` string, nullable, required
    - `imageUrl` string, nullable, required
    - `onHand` string, required
    - `value` string, nullable, required
    - `hasUnknownCost` boolean, required
    - `currency` 'AED' | 'USD' | 'MXN' | 'RUB' | 'AMD' | 'OMR' | 'JOD' | 'EUR', nullable, required
    - `recipeOutput` string, nullable, required
    - `isPrepared` boolean, required
    - `lowStockAt` string, required
    - `isLow` boolean, required
    - `unitCost` string, nullable, required
    - `suppliers` object[], required
      - `id` string, required
      - `name` string, required
    - `lastMovement` object, nullable, required
      - `kind` 'add' | 'remove' | 'consume' | 'reprice', required
      - `reason` 'spoiled' | 'expired' | 'damaged' | 'other' | 'lost' | 'recount' | 'import' | 'prep' | 'variance' | 'correction' | 'move' | 'shortage' | 'currencyChanged' | 'transfer' | 'shipment' | 'surplus' | 'recall', nullable, required: Why it moved. New reasons are added as the ledger grows (`recall` is the latest), so read a reason you do not know by `kind` alone.
      - `recordedAt` string, date-time, required
    - `useBy` object, nullable, required
      - `date` string, required
      - `daysLeft` number, required
      - `totalDays` number, required
      - `isEstimate` boolean, required
    - `shelfLifeDays` number, nullable, required
  - `updatedAt` string, date-time, nullable, required

## Changes

- **2026-11-26** `b770c4b99ed8`: 1 info
  - added the required property `rows/items/isPrepared` to the response with the `200` status
- **2026-11-25** `480065bd279c`: 1 info
  - added the required property `rows/items/shelfLifeDays` to the response with the `200` status
- **2026-11-25** `56e8a024da15`: 1 info
  - added the required property `rows/items/useBy` to the response with the `200` status
- **2026-11-19** `837c099d0a97`: 1 warning
  - added the new `recall` enum value to the `rows/items/lastMovement/anyOf[subschema #1]/reason/anyOf[subschema #1]/` response property for the response status `200`
- **2026-11-18** `41c449b1d909`: 2 info
  - added the required property `rows/items/categoryId` to the response with the `200` status
  - added the required property `rows/items/imageUrl` to the response with the `200` status

[Operation history](https://skmtc.dev/fortis/apis/fortune-os-api/changes/api/public/v1/inventory/stock/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)
