---
title: "Partial update warehouse"
method: PATCH
path: "/warehouses/{id}/"
tags: ["Warehouses"]
---

# Partial update warehouse

`PATCH /warehouses/{id}/`

Endpoint for partially updating an existing warehouse.

## Path parameters

- `id` string, required

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- PatchedWarehouse — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
  - `account` string — The account associated with this warehouse.
  - `address` CommonDualLangModel
    - `ar` string — The value in the Arabic language.
    - `en` string, required — The value in the English language.
  - `building_number` string — Building number or identifier of the warehouse.
  - `city` CommonDualLangModel
    - `ar` string — The value in the Arabic language.
    - `en` string, required — The value in the English language.
  - `code` string — Unique code identifier for the warehouse.
  - `created_ts` string, date-time — The timestamp in UTC when the warehouse was created
  - `district` CommonDualLangModel
    - `ar` string — The value in the Arabic language.
    - `en` string, required — The value in the English language.
  - `id` string — The unique identifier of the warehouse.
  - `is_active` boolean — Indicates whether the warehouse is currently active and operational.
  - `legacy_id` string — [Deprecated] The legacy identifier of the warehouse.
  - `modified_ts` string, date-time — The timestamp in UTC when the warehouse was last modified
  - `name` CommonDualLangModel
    - `ar` string — The value in the Arabic language.
    - `en` string, required — The value in the English language.
  - `phone` string — Contact phone number for the warehouse.
  - `postal_code` string — Postal or ZIP code of the warehouse location.
  - `state` string — Emirate for UAE organizations. Read-only field.

## Response `200`

- Warehouse — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
  - `account` string, required — The account associated with this warehouse.
  - `address` CommonDualLangModel, required
    - `ar` string — The value in the Arabic language.
    - `en` string, required — The value in the English language.
  - `building_number` string, required — Building number or identifier of the warehouse.
  - `city` CommonDualLangModel, required
    - `ar` string — The value in the Arabic language.
    - `en` string, required — The value in the English language.
  - `code` string, required — Unique code identifier for the warehouse.
  - `created_ts` string, date-time, required — The timestamp in UTC when the warehouse was created
  - `district` CommonDualLangModel, required
    - `ar` string — The value in the Arabic language.
    - `en` string, required — The value in the English language.
  - `id` string, required — The unique identifier of the warehouse.
  - `is_active` boolean — Indicates whether the warehouse is currently active and operational.
  - `legacy_id` string, required — [Deprecated] The legacy identifier of the warehouse.
  - `modified_ts` string, date-time, required — The timestamp in UTC when the warehouse was last modified
  - `name` CommonDualLangModel, required
    - `ar` string — The value in the Arabic language.
    - `en` string, required — The value in the English language.
  - `phone` string, required — Contact phone number for the warehouse.
  - `postal_code` string, required — Postal or ZIP code of the warehouse location.
  - `state` string, required — Emirate for UAE organizations. Read-only field.

---

[API](https://skmtc.net/wafeq/apis/wafeq-public-api.md) · [All operations](https://skmtc.net/wafeq/apis/wafeq-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wafeq/wafeq-public-api/versions/36816b4fce7f/schema)
