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

# POST /api/public/v1/inventory/sendWrittenRequest

`POST /api/public/v1/inventory/sendWrittenRequest`

## Request

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

Records a request the location sends to a supplier it keeps by hand, once under its `id`, and answers its number at the location. It creates no order and moves no stock: the caller delivers the text itself, and `channel` says how. `message` is the text as sent and is left out for a PDF. `deliveryAddress` is where the goods are to arrive, which its purchase order prints; left out or blank names none. Each line is a live purchased product of the organization and its quantity in thousandths of its base unit. Needs inventory post at the location. NOT_FOUND as `supplierNotFound` for a supplier the organization does not keep by hand or has archived; BAD_REQUEST as `messageRequired` without a text on any channel but PDF, and as `itemUnavailable` for a product archived, prepared or not the organization's; CONFLICT as `requestIdTaken` for an id another location's request holds. 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
  - `supplierId` string, required
  - `channel` 'whatsapp' | 'email' | 'pdf' | 'copy', required
  - `message` string, nullable, required
  - `deliveryAddress` string, nullable
  - `lines` object[], required
    - `stockItemId` string, required
    - `quantity` string, required

## Response `200`

OK

- object
  - `id` string, required
  - `number` number, nullable, required

## Changes

- **2026-12-01** `bf6e89a15e23`: 1 info
  - added the new optional request property `deliveryAddress`
- **2026-11-27** `059cf7076612`: 1 info
  - endpoint added

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