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

# POST /api/public/v1/inventory/dictionarySearch

`POST /api/public/v1/inventory/dictionarySearch`

## Request

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

Entries of the stock dictionary named like `query`, each as its name in `locale`, its base unit, its nutrition per 100 g, `gramsPerUnit`, the grams one of its units weighs, and its allergen codes, for naming a new product; nutrition is null where the dictionary has no figures for the entry, grams per unit where it has no weight for the unit and always for g, and allergens empty where it records none. The dictionary is no organization's, so the grant may be held at any; empty while no dictionary is configured or it does not answer. 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
  - `query` string, required
  - `locale` 'en' | 'ru' | 'ar' | 'hy' | 'es', required

## Response `200`

OK

- object[]
  - `key` string, required
  - `name` string, required
  - `baseUnit` 'g' | 'ml' | 'pcs', required
  - `nutrition` object, nullable, required
    - `calories` number, nullable, required
    - `proteins` number, nullable, required
    - `fats` number, nullable, required
    - `carbs` number, nullable, required
  - `gramsPerUnit` number, nullable, required
  - `allergens` string[], required

## Changes

- **2026-12-01** `90a157dc7523`: 1 info
  - added the required property `items/key` to the response with the `200` status
- **2026-11-19** `7f2e469b6d1a`: 2 info
  - added the new `es` enum value to the request property `locale`
  - added the new `hy` enum value to the request property `locale`
- **2026-11-17** `2cd3d04ac9de`: 1 info
  - added the required property `items/gramsPerUnit` to the response with the `200` status
- **2026-11-17** `1a9e4de8cb25`: 1 info
  - added the required property `items/allergens` to the response with the `200` status
- **2026-11-14** `f3e9475f25b3`: 1 info
  - added the required property `items/nutrition` to the response with the `200` status

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