---
name: "inventory_save_location"
area: "inventory"
title: "Add or change a location"
price: "$0.001"
method: "POST"
url: "https://api.conecto.chat/v1/tools/inventory_save_location"
mcp_server: "https://api.conecto.chat/mcp/inventory"
auth: "Authorization: Bearer <conecto_sk_ key>"
docs_url: "https://conecto.chat/tools/inventory/inventory_save_location"
---

# Add or change a location (`inventory_save_location`)

Adds a location (a warehouse, a shop, a van), or renames, describes or archives one.

Add a location (a warehouse, a shop, a van) or rename, describe or archive one (only when empty).

Price: $0.001 a call. A call that fails costs nothing.

## Use it when

Stock is kept somewhere new, or a place closes.

## Say this to your agent

> Add our new warehouse in Moorfleet as a stock location.

## Inputs

| Name | Type | Required | Description | Allowed values | Default |
|---|---|---|---|---|---|
| `name` | string | yes | 1 to 120 characters. |  |  |
| `new_name` | string | no | Up to 120 characters. |  |  |
| `description` | string | no | Up to 500 characters. |  |  |
| `archived` | boolean | no |  |  |  |

## Example

Written for Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff.

MCP: call `inventory_save_location` on the MCP server `https://api.conecto.chat/mcp/inventory` with these arguments:

```json
{
  "name": "Warehouse Moorfleet",
  "description": "Storage and pickup, Moorfleeter Deich 41"
}
```

REST:

```bash
curl https://api.conecto.chat/v1/tools/inventory_save_location \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Warehouse Moorfleet", "description": "Storage and pickup, Moorfleeter Deich 41"}'
```

## Response

```json
{
  "call_id": "5f0c8a2e-3b7d-4c1e-9a64-2d8e1f7b0c93",
  "tool": "inventory_save_location",
  "status": "succeeded",
  "replayed": false,
  "cost_usd": "$0.001",
  "balance_usd": "$19.75",
  "result": {
    "location": {
      "name": "Warehouse Moorfleet",
      "description": "Storage and pickup, Moorfleeter Deich 41",
      "archived": false
    },
    "created": true
  }
}
```

`result`: location: its name, description and archived; and created.

## Errors

| Code | Status | When | Fix |
|---|---|---|---|
| `invalid_input` | 400 | The name is empty or too long. | Give a name of 1 to 120 characters. |
| `name_taken` | 409 | A location has that name already. | Pick another name. |
| `has_stock` | 409 | The location to archive still holds stock. | Move the stock elsewhere first. |

The refusals every tool can give (401 key, 402 balance, 429 limits) are on the errors page: https://conecto.chat/docs/errors.md

## Related

- [inventory_save_items](https://conecto.chat/tools/inventory/inventory_save_items.md): Adds stock items or changes them by SKU: name, unit, barcode, cost, price and reorder point. $0.005 per item saved.
- [inventory_list_items](https://conecto.chat/tools/inventory/inventory_list_items.md): Items with their stock in total and per location, the moving-average cost and the value. Free up to 1,000,000 reads a month.
- [inventory_move](https://conecto.chat/tools/inventory/inventory_move.md): Changes stock, all moves or none: receive, ship, transfer between locations, or adjust. $0.005 per move.
- [inventory_stocktake](https://conecto.chat/tools/inventory/inventory_stocktake.md): Records a count of one location; each difference from the books becomes a count move. $0.002 per line counted.
- [inventory_history](https://conecto.chat/tools/inventory/inventory_history.md): Stock moves, newest first, of one item, at one location, of one kind, or in a period. Free up to 1,000,000 reads a month.
- [inventory_locations](https://conecto.chat/tools/inventory/inventory_locations.md): Every location with how many items it holds and their value. Free up to 1,000,000 reads a month.
- [inventory_report](https://conecto.chat/tools/inventory/inventory_report.md): Valuation (what was held on a day and its value), movement (per item in a period, with the cost of goods shipped) or low stock. Free up to 1,000,000 reads a month.
- [inventory_import](https://conecto.chat/tools/inventory/inventory_import.md): Creates or changes items from a CSV in the file store, with optional quantities per location; all rows or none. $0.001 per row imported.
- [inventory_export](https://conecto.chat/tools/inventory/inventory_export.md): A CSV of the items (per location, with quantities and value) or of the moves in a period, with a download link. $0.001 a call.
