---
title: "Locations PATCH update."
method: PATCH
path: "/rest/api/warehouse/location/"
tags: ["Warehouse"]
---

# Locations PATCH update.

`PATCH /rest/api/warehouse/location/`

## Request body

- Location[]
  - `id` integer, nullable, required
  - `name` string, nullable
  - `code` string, nullable

## Response `200`

Update locations correctly

- unknown

## Other responses

- `304` — No updates
- `400` — Invalid payload
- `401` — Authorization failed
- `413` — Too many Location objects submitted (max 128)
- `422` — Validation error

---

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