---
title: "Update an existing inventory location"
method: PUT
path: "/inventory/locations/{locationId}"
tags: ["InventoryLocations"]
---

# Update an existing inventory location

`PUT /inventory/locations/{locationId}`

Updates the display name of an inventory location. Stock counts
and adjustments already recorded against the location are
unaffected.

## Request body

- object
  - `name` string — A display name for the location.

## Response `200`

A single inventory location.

- object
  - `data` InventoryLocation, required — A physical inventory location within a site — for example, "Treatment store", "Retail floor", or "Back of house". Locations are the bucket against which stock counts and adjustments are recorded; products can exist in multiple locations.
    - `id` string, uuid — The ID of the location.
    - `organisation_id` string, uuid — The ID of the organisation this location belongs to.
    - `site_id` string, uuid — The ID of the site this location belongs to.
    - `name` string, required — A display name for the location.
    - `created_at` string, date-time — The date and time the location was created.
    - `updated_at` string, date-time — The date and time the location was last updated.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

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