---
title: "Create an inventory item"
method: POST
path: "/v1/inventory_items"
tags: ["Inventory Items"]
---

# Create an inventory item

`POST /v1/inventory_items`

## Request

- Base URL: `https://inventories-api.paymongo.com`
- URL: `https://inventories-api.paymongo.com/v1/inventory_items`
- Auth: HTTP basic

Create a stock record for a variant at a warehouse. on_hand defaults to zero; a non-zero initial on_hand writes a correction movement.

## Request body

- CreateItemRequestDTO: Item to create; on_hand defaults to zero
  - `on_hand` integer
  - `variant_id` string, required
  - `warehouse_id` string, required

## Response `200`

OK

- object: Standard response containing data and its metadata if any
  - `data` ItemResponseDTO: Stock counters for one variant at one warehouse
    - `available` integer
    - `created_at` integer
    - `held` integer
    - `id` string
    - `livemode` boolean
    - `low_stock_threshold` integer
    - `on_hand` integer
    - `updated_at` integer
    - `variant_id` string
    - `warehouse_id` string
  - `has_more` boolean

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/paymongo/apis/inventories.md) - [All operations](https://skmtc.dev/paymongo/apis/inventories/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/inventories/revisions/7307fa6b0b16?raw)
