---
title: "Create a new inventory category"
method: POST
path: "/inventory/categories"
tags: ["Inventory"]
---

# Create a new inventory category

`POST /inventory/categories`

## Request

- Base URL: `https://api.faireplace.com/api`
- URL: `https://api.faireplace.com/api/inventory/categories`
- Auth: HTTP bearer

Creates a new inventory category

## Request body

- CreateInventoryCategory: Data for creating a new inventory category
  - `name` string, required: Category name
  - `description` string, nullable: Category description

## Response `201`

Inventory category created successfully

- InventoryCategory: Inventory category
  - `id` string, uuid, required: Unique identifier of the category
  - `name` string, required: Category name
  - `description` string, nullable: Category description
  - `created_at` string, date-time, required: Creation date
  - `updated_at` string, date-time, required: Last modification date

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/faireplace/apis/faireplace-property-management-api.md) · [All operations](https://skmtc.dev/faireplace/apis/faireplace-property-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faireplace/apis/faireplace-property-management-api/revisions/69de39762919?raw)
