---
title: "updateDiscount"
method: PUT
path: "/api/user/club/acceptor/discount-update"
tags: ["club-user-resource"]
---

# updateDiscount

`PUT /api/user/club/acceptor/discount-update`

## Request

- Base URL: `https://api.ayriaclub.ir`
- URL: `https://api.ayriaclub.ir/api/user/club/acceptor/discount-update`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ayriaclub/apis/ayria-api/docs/api/user/club/acceptor/discount-update/put.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ClubAcceptorDiscountCommand
  - `acceptorCode` string
  - `clubCode` integer, required
  - `discount` number, required

## Response `200`

OK

- ClubAcceptorPublicDTO
  - `acceptorCode` string
  - `acceptorName` string
  - `clubCode` integer
  - `department` 'SPORT' | 'CLOTHING' | 'CONSULTING' | 'DIGITAL' | 'RESTAURANT' | 'HEALTH' | 'SCIENCE' | 'STORE' | 'TRAVEL' | 'HOME_APPLIANCE' | 'BEAUTY' | 'JEWELLERY' | 'CULTURE' | 'FORMALITY' | 'ART' | 'CAR' | 'BUILDING'
  - `discount` number
  - `discountMinimum` number
  - `discountPercentage` number
  - `owner` boolean
  - `voucher` number

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/ayriaclub/apis/ayria-api.md) - [All operations](https://skmtc.dev/ayriaclub/apis/ayria-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ayriaclub/apis/ayria-api/revisions/422df181c1dd?raw)
