---
title: "Create Inventory"
method: POST
path: "/v1/public/inventories"
tags: ["Inventories"]
---

# Create Inventory

`POST /v1/public/inventories`

## Request body

- PublicInventoryRequest
  - `externalId` string, required
  - `name` string, nullable
  - `itemId` string, nullable
  - `itemExternalId` string, nullable
  - `status` string, nullable
  - `inventoryStatus` string, nullable
  - `currency` string, nullable
  - `unitPrice` number, nullable
  - `initialValue` integer, nullable
  - `date` string, nullable
  - `warehouseId` string, nullable

## Response `200`

OK

- PublicInventoryResponse
  - `ok` boolean, required
  - `status` string, required
  - `external_id` string, required
  - `inventory_id` string, nullable
  - `inventory_record_id` string, nullable
  - `ctx_id` string, nullable

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/sankahq/apis/ninjaapi.md) · [All operations](https://skmtc.net/sankahq/apis/ninjaapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sankahq/ninjaapi/revisions/c273ff62266a/schema)
