---
title: "Replaces the Inventory resource."
method: PUT
path: "/inventories/{id}"
tags: ["Inventory"]
---

# Replaces the Inventory resource.

`PUT /inventories/{id}`

Replaces the Inventory resource.

## Path parameters

- `id` string, required

## 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 `200`

Inventory resource updated

- 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
- `404` — Resource not found
- `422` — Unprocessable entity

---

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