---
title: "POST /OfficeSupplyStockLot/Update"
method: POST
path: "/OfficeSupplyStockLot/Update"
tags: ["OfficeSupplyStockLotCommand"]
---

# POST /OfficeSupplyStockLot/Update

`POST /OfficeSupplyStockLot/Update`

## 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/OfficeSupplyStockLot/Update`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Request body

- KhaasFoodStockLotsDtosCreateUpdateStockLotDto
  - `id` string, uuid
  - `creationTime` string, date-time
  - `creatorId` string, uuid, nullable
  - `lastModificationTime` string, date-time, nullable
  - `lastModifierId` string, uuid, nullable
  - `isDeleted` boolean
  - `deleterId` string, uuid, nullable
  - `deletionTime` string, date-time, nullable
  - `number` string, nullable
  - `totalQuantity` number, double
  - `inStock` number, double
  - `stockOut` number, double
  - `bookedQuantity` number, double
  - `expectedQuantity` number, double
  - `costPerUnit` number, double
  - `status` 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
  - `productDetailId` string, uuid, nullable
  - `purchaseOrderId` string, uuid, nullable
  - `warehouseId` string, uuid, nullable

## 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)
