---
title: "Create inventory type"
method: POST
path: "/v1/InventoryTypes"
tags: ["InventoryTypes"]
---

# Create inventory type

`POST /v1/InventoryTypes`

Create a new inventory type.

## Request body

- RevAppModelsInventoryType
  - `inventory_type_id` integer — Primary identifier for this inventory type.
  - `category` 'General' | 'Telephone_Number' | 'IP_Address' | 'Mobile_Device' | 'SIM_Card' — Used to specify a certain category of system-defined inventory. Some additional fields populate on the inventory type based on selection.
  - `identifier` string, required — The configured identifier for the given inventory type.
  - `name` string, required — Name that displays in the system for this inventory type.
  - `requires_product` boolean — Whether this inventory type requires a product.
  - `description` string — Configured description of the inventory type.
  - `status` 'ACTIVE' | 'INACTIVE' — Specifies if the inventory type is active or not.
  - `format` 'NONE' | 'ESN_DECIMAL' | 'MEID_DECIMAL' | 'ESN_OR_MEID_DECIMAL' | 'ICCID_DECIMAL' | 'IMEI_DECIMAL' | 'MAC_ADDRESS' — Inventory type format.
  - `ratable` boolean — Indicates that if an inventory item of this type is on a service, usage can be linked to the service through the inventory's identifier.
  - `fields` RevAppModelsFieldValue[]
    - `field_id` integer — Primary identifier for this custom field.
    - `label` string — User-defined identifier representing the custom field.
    - `value` string — Value of the custom field.
    - `links` RevAppComponentsLink[]
      - `rel` string
      - `href` string
  - `links` RevAppComponentsLink[]
    - `rel` string
    - `href` string

## Response `201`

Created

- RevWebAPIModelsCreate
  - `ok` boolean
  - `id` integer

## Other responses

- `400` — BadRequest
- `500` — InternalServerError

---

[API](https://skmtc.dev/rev-io/apis/rev-io-api.md) · [All operations](https://skmtc.dev/rev-io/apis/rev-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rev-io/rev-io-api/revisions/135571434f6c/schema)
