---
title: "Update warehouse"
method: PATCH
path: "/api/v1/warehouses/{id}"
tags: ["Warehouse"]
---

# Update warehouse

`PATCH /api/v1/warehouses/{id}`

Update warehouse

## Path parameters

- `id` string, required — Resource identifier.

## Request body

- object
  - `designation` string — Name of the warehouse
  - `project` object, nullable — Information for the project used by a Warehouse
    - `id` string, required — Resource identifier.
  - `address` object, nullable — Information for the address used by a warehouse
    - `id` string, required — Resource identifier.

## Response `204`

Operation completed successfully, no response body

## Other responses

- `400` — IETF RFC 9457 Problem API compliant response
- `401` — Unable to authenticate the client
- `403` — Unable to authorize the client
- `404` — Resource was not found or not enough access privileges
- `415` — Resource representation send in the request is not supported.

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
