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

# POST /api/public/v1/inventory/repriceBatch

`POST /api/public/v1/inventory/repriceBatch`

## Request

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

Prices what is left of one batch added without a price, in millionths of a minor unit per base unit excluding VAT: the stock it holds at unknown cost becomes valued, recorded as a value-only `reprice` movement. Needs inventory post and inventoryCost update at the location (FORBIDDEN otherwise). A movement id repeated for the same batch and price is a no-op. NOT_FOUND as `stockNotFound` or `batchNotFound` for a product or batch the location does not hold; CONFLICT as `movementReused` for a movement id reused for another, `batchPriced` for a batch that has a price, `batchEmpty` for one with nothing left and `valueTooLarge` past one priced line's value, `currencyChanged` while the stock is valued in a former currency of the organization, `productArchived` for an archived product. 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
  - `movementId` string, required
  - `stockItemId` string, required
  - `batchId` string, required
  - `unitCost` string, required

## Changes

- **2026-11-03** `b07e1072d52d`: 1 info
  - endpoint added

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