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

# POST /api/public/v1/inventory/movements

`POST /api/public/v1/inventory/movements`

## Request

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

One page of movements at the location, optionally in one storage or of one product and only its adds by hand or import (`correctable`), with who made them, the storage each changed, both sides of a transfer and the supplier of an add's batch, the invoice number and date an imported add was printed on, and the cursor the next page starts from (null on the last). Narrowed by what happened, the batch's supplier, part of the supplier's invoice number an imported add was printed on (`invoiceNumber`, case ignored), who made it, the product's unit and a period resolved in the venue's time zone (`custom` from `from` through `to`, under the Dashboard's rules; none reads all time); ordered by time (newest first by default), product name or supplier name, a movement without a supplier last. The first page counts the movements its storage or product holds (`listed`) and those the filters leave (`total`). BAD_REQUEST for a cursor no page of that sort returned. New reasons are added as the ledger grows (`recall` is the latest), so read a reason you do not know by its `kind`. 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
  - `storageId` string
  - `stockItemId` string
  - `correctable` boolean
  - `what` 'added' | 'removed' | 'used' | 'repriced' | 'shortage' | 'recounted' | 'imported' | 'prepared' | 'transfer' | 'shipped' | 'received' | 'recalled' | 'correction' | 'move'
  - `supplierId` string
  - `invoiceNumber` string
  - `actorId` string
  - `unit` 'g' | 'ml' | 'pcs'
  - `period` 'today' | 'yesterday' | 'last7' | 'thisMonth' | 'custom'
  - `from` string, date
  - `to` string, date
  - `sort` 'when' | 'product' | 'supplier'
  - `direction` 'asc' | 'desc'
  - `cursor` string

## Response `200`

OK

- object
  - `rows` object[], required
    - `id` string, 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.
    - `quantity` string, required
    - `value` string, nullable, required
    - `currency` 'AED' | 'USD' | 'MXN' | 'RUB' | 'AMD' | 'OMR' | 'JOD' | 'EUR', required
    - `recordedAt` string, date-time, required
    - `stockItem` object, required
      - `id` string, required
      - `name` string, required
      - `baseUnit` 'g' | 'ml' | 'pcs', required
    - `actorName` string, required
    - `supplierName` string, nullable, required
    - `importedFrom` string, nullable, required
    - `invoiceNumber` string, nullable, required
    - `invoiceDate` string, nullable, required
    - `storage` object, required
      - `id` string, required
      - `name` string, required
      - `locationId` string, required
      - `locationName` string, required
    - `transfer` object, nullable, required
      - `from` object, required
        - `id` string, required
        - `name` string, required
        - `locationId` string, required
        - `locationName` string, required
      - `to` object, required
        - `id` string, required
        - `name` string, required
        - `locationId` string, required
        - `locationName` string, required
      - `shipmentStatus` 'inTransit' | 'received' | 'recalled' | 'neverReceived', nullable, required: A shipment's status, null for a transfer; read a status you do not know as closed.
    - `corrects` object, nullable, required
      - `id` string, required
      - `recordedAt` string, date-time, required
    - `adjusts` object, nullable, required
      - `id` string, required
      - `recordedAt` string, date-time, required
    - `shortage` object, nullable, required
      - `openQuantity` string, required
      - `value` string, nullable, required
    - `correctable` object, nullable, required
      - `batchId` string, required
      - `quantity` string, required
      - `remaining` string, required
      - `unitCost` string, nullable, required
  - `nextCursor` string, nullable, required
  - `listed` number, nullable, required
  - `total` number, nullable, required

## Changes

- **2026-12-02** `8f6b68664329`: 3 info
  - added the new optional request property `invoiceNumber`
  - added the required property `rows/items/invoiceDate` to the response with the `200` status
  - added the required property `rows/items/invoiceNumber` to the response with the `200` status
- **2026-11-19** `837c099d0a97`: 1 warning, 2 info
  - added the new `recall` enum value to the `rows/items/reason/anyOf[subschema #1]/` response property for the response status `200`
  - added the new `recalled` enum value to the request property `what`
  - added the required property `rows/items/transfer/anyOf[subschema #1]/shipmentStatus` to the response with the `200` status
- **2026-11-16** `7f9fdaae99de`: 3 warning, 2 info
  - added the new `lost` enum value to the `rows/items/reason/anyOf[subschema #1]/` response property for the response status `200`
  - added the new `shipment` enum value to the `rows/items/reason/anyOf[subschema #1]/` response property for the response status `200`
  - added the new `surplus` enum value to the `rows/items/reason/anyOf[subschema #1]/` response property for the response status `200`
  - added the new `received` enum value to the request property `what`
  - …1 more
- **2026-11-13** `2822fec87975`: 12 info
  - added the new optional request property `actorId`
  - added the new optional request property `direction`
  - added the new optional request property `from`
  - added the new optional request property `period`
  - …8 more
- …earlier changes not shown

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