---
title: "PUT /DealerProduct/UpdateDues"
method: PUT
path: "/DealerProduct/UpdateDues"
tags: ["DealerProductCommand"]
---

# PUT /DealerProduct/UpdateDues

`PUT /DealerProduct/UpdateDues`

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

## Request body

- KhaasFoodProductsDTOsDealerProductsDealerProductDetailDto
  - `dealerId` string, uuid
  - `transaction` KhaasFoodTransactionsDtosTransactionDto
    - `id` string, uuid
    - `creationTime` string, date-time
    - `creatorId` string, uuid, nullable
    - `lastModificationTime` string, date-time, nullable
    - `lastModifierId` string, uuid, nullable
    - `transactionFlowType` 1 | 2
    - `transactionFlowTypeString` string, nullable
    - `transactionMedium` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
    - `transactionMediumString` string, nullable
    - `paymentGatewayService` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16
    - `paymentGatewayServiceString` string, nullable
    - `transactionFor` 0 | 1 | 2 | 3 | 4 | 5 | 6
    - `transactionForString` string, nullable
    - `transactionWith` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
    - `transactionWithString` string, nullable
    - `parentId` string, uuid, nullable
    - `parentName` string, nullable
    - `orderNumber` string, nullable
    - `orderId` string, uuid, nullable
    - `amount` number, double
    - `transactionNumber` string, nullable
    - `remarks` string, nullable
    - `contactPersonName` string, nullable
    - `contactPersonPhone` string, nullable
    - `transactionDate` string, date-time, nullable
    - `accountHeadName` string, nullable
    - `accountHeadId` string, uuid, nullable
    - `walletId` string, uuid, nullable
    - `wallet` KhaasFoodWalletsDtosWalletDto
      - `id` string, uuid
      - `creationTime` string, date-time
      - `creatorId` string, uuid, nullable
      - `lastModificationTime` string, date-time, nullable
      - `lastModifierId` string, uuid, nullable
      - `title` string, nullable
      - `accountNumber` string, nullable
      - `bankName` string, nullable
      - `cardNumber` string, nullable
      - `mobileNumber` string, nullable
      - `balance` number, double
      - `startingBalance` number, double
      - `warehouseId` string, uuid, nullable
      - `walletType` 1 | 2 | 3
      - `walletTypeCode` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
      - `isActive` boolean
    - `warehouseId` string, uuid, nullable
    - `warehouse` KhaasFoodWarehousesDtosWarehousesWarehouseDto
      - `name` string, nullable
      - `streetAddress` string, nullable
      - `area` string, nullable
      - `district` string, nullable
      - `isMain` boolean
      - `isActive` boolean
      - `warehouseType` 0 | 1 | 2 | 3 | 4 | 5 | 6
      - `syncOnAccounting` boolean
      - `id` string, uuid
      - `isUseInOnlineSale` boolean
      - `isUseInPosSale` boolean
      - `isUseInEComSale` boolean
      - `isUseInDealerSale` boolean
    - `state` 0 | 1 | 2
    - `isPayAdjustment` boolean
    - `refTransactionId` string, uuid, nullable
    - `transactionType` 1 | 2
    - `title` string, nullable
    - `accountInfoTitle` string, nullable
    - `paymentGatewayServiceName` string, nullable
    - `createdBy` string, nullable
    - `modifiedBy` string, nullable
  - `dealerProductTransactions` KhaasFoodProductsDTOsDealerProductsDealerProductTransactionDto[], nullable
    - `amount` number, double
    - `transactionId` string, uuid, required
    - `dealerProductId` string, uuid, required

## Response `200`

Success

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