---
title: "PUT /api/app/gross-profit-adjustments/{id}"
method: PUT
path: "/api/app/gross-profit-adjustments/{id}"
tags: ["GrossProfitAdjustments"]
---

# PUT /api/app/gross-profit-adjustments/{id}

`PUT /api/app/gross-profit-adjustments/{id}`

## 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/app/gross-profit-adjustments/{id}`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Path parameters

- `id` string, uuid, required

## Request body

- KhaasFoodProfitabilitiesDTOsGrossProfitAdjustmentCreateUpdateInputDto
  - `month` integer
  - `year` integer
  - `discount` number, double
  - `deliveryCharge` number, double
  - `warehouseId` string, uuid
  - `remarks` string, nullable

## Response `200`

Success

- KhaasFoodProfitabilitiesDTOsGrossProfitAdjustmentDto
  - `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
  - `month` integer
  - `year` integer
  - `discount` number, double
  - `deliveryCharge` number, double
  - `warehouseId` string, uuid
  - `warehouseName` string, nullable
  - `referenceAdjustmentId` string, uuid, nullable
  - `isAdjustment` boolean
  - `status` 0 | 1 | 2 | 3
  - `approvedDate` string, date-time, nullable
  - `remarks` string, nullable

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