---
title: "Update a location"
method: PATCH
path: "/v3/classifications/locations/{id}"
tags: ["classifications"]
---

# Update a location

`PATCH /v3/classifications/locations/{id}`

Update details about an existing location.

## Path parameters

- `id` string, required — BILL-generated ID of the location. The value begins with `loc`.

## Headers

- `sessionId` string, nullable — API session ID generated with `/v3/login`
- `devKey` string, nullable — Developer key generated with your BILL developer account

## Request body

- UpdateClassificationLocationRequestDto — Update a location (name updated)
  - `name` string — Location name
  - `shortName` string — Location short name
  - `description` string — Location description
  - `parentId` string — BILL-generated ID of the parent location. You can set this field if this location is a child object.

## Response `200`

Update a location response

- ClassificationLocationResponseDto — ClassificationLocation response Dto.
  - `id` string — BILL-generated ID of the location. The value begins with `loc`.
  - `name` string — Location name
  - `shortName` string — Location short name
  - `description` string — Location description
  - `parentId` string — BILL-generated ID of the parent location. You can set this field if this location is a child object.
  - `archived` boolean — Set as `true` if the location is archived
  - `createdTime` string, date-time
  - `updatedTime` string, date-time — Updated date and time

## Other responses

- `4XX` — List of errors.
- `5XX` — List of errors.

---

[API](https://skmtc.net/bill/apis/bill-v3-api.md) · [All operations](https://skmtc.net/bill/apis/bill-v3-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bill/bill-v3-api/versions/0483350c434e/schema)
