---
title: "PUT /api/warehouse/edit"
method: PUT
path: "/api/warehouse/edit"
tags: ["WarehouseCommand"]
---

# PUT /api/warehouse/edit

`PUT /api/warehouse/edit`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/api/warehouse/edit`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Request body

- KhaasFoodWarehousesDtosWarehousesCreateUpdateWarehouseDto
  - `warehouseType` 0 | 1 | 2 | 3 | 4 | 5 | 6
  - `name` string, nullable
  - `streetAddress` string, nullable
  - `area` string, nullable
  - `district` string, nullable
  - `isMain` boolean
  - `isActive` boolean
  - `syncOnAccounting` boolean
  - `shopId` string, nullable
  - `id` string, uuid
  - `isUseInOnlineSale` boolean
  - `isUseInPosSale` boolean
  - `isUseInEComSale` boolean
  - `isUseInDealerSale` boolean

## Response `200`

Success

- boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
