---
title: "Location - Add Item"
method: POST
path: "/location/add_item"
tags: ["location"]
---

# Location - Add Item

`POST /location/add_item`

Assign an item to a warehouse location.

## Request body

- object
  - `id` string, required — Location ID
  - `item_id` string, required — SKULabs item ID to add
  - `on_hand` number, required — Initial on-hand quantity
  - `alert` number — Low-stock alert level

## Response `200`

Item added to location successfully

- object
  - `success` boolean, required — Whether the operation succeeded

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden. Insufficient permissions.
- `429` — Too many requests. Rate limit exceeded.
- `500` — Internal server error.

## Changes

- **2026-03-02** `fa53dd949b8e` — 3 breaking, 9 info
  - the request property `id` became required
  - the request property `item_id` became required
  - the request property `on_hand` became required
  - api operation id `post_location_add_item` was added
  - …8 more
- **2024-04-22** `08cd9cfa14dd` — 1 breaking, 4 warning, 2 info
  - added required request body
  - deleted the `query` request parameter `alert`
  - deleted the `query` request parameter `id`
  - deleted the `query` request parameter `item_id`
  - …3 more
- **2024-04-19** `46ceda528000` — 2 breaking, 10 info
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`
  - api operation id `post_location_add_item` removed and replaced with ``
  - added the new optional `query` request parameter `alert`
  - …8 more

[Change history](https://skmtc.dev/skulabs/apis/skulabs-api/changes/location/add_item/post.md)

---

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