---
title: "Creates a Inventory resource."
method: POST
path: "/inventories"
tags: ["Inventory"]
---

# Creates a Inventory resource.

`POST /inventories`

## Request

- Base URL: `https://example.myintranetapps.com/api`
- URL: `https://example.myintranetapps.com/api/inventories`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/bossinsights/apis/boss-insights/docs/inventories/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a Inventory resource.

## Request body

- Inventory
  - `id` string
  - `product_name` string
  - `total_quantity` integer
  - `sku` string, nullable
  - `modified` string, date-time, nullable
  - `fulfillable_quantity` string, nullable
  - `integration` string: The key of the integration source e.g. "quickbooks", or "xero"
  - `productName` string
  - `totalQuantity` integer
  - `fulfillableQuantity` unknown

## Response `201`

Inventory resource created

- Inventory
  - `id` string
  - `product_name` string
  - `total_quantity` integer
  - `sku` string, nullable
  - `modified` string, date-time, nullable
  - `fulfillable_quantity` string, nullable
  - `integration` string: The key of the integration source e.g. "quickbooks", or "xero"
  - `productName` string
  - `totalQuantity` integer
  - `fulfillableQuantity` unknown

## Other responses

- `400`: Invalid input
- `422`: Unprocessable entity

---

[API](https://skmtc.dev/bossinsights/apis/boss-insights.md) - [All operations](https://skmtc.dev/bossinsights/apis/boss-insights/llms.txt) - [OpenAPI document](https://skmtc.dev/bossinsights/apis/boss-insights/revisions/d08a107895ad?raw)
