---
title: "updateInventoryCount"
method: PUT
path: "/api/acceptor-kala/update-inventory_count/{kalaId}/{inventoryCount}"
tags: ["acceptor-kala-resource"]
---

# updateInventoryCount

`PUT /api/acceptor-kala/update-inventory_count/{kalaId}/{inventoryCount}`

## Request

- Base URL: `https://api.neonclub.ir`
- URL: `https://api.neonclub.ir/api/acceptor-kala/update-inventory_count/{kalaId}/{inventoryCount}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/neonclub/apis/ayria-api/docs/api/acceptor-kala/update-inventory_count/:kalaId/:inventoryCount/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `inventoryCount` integer, required
- `kalaId` integer, required

## Response `200`

OK

- KalaDTO
  - `acceptorCode` integer
  - `acceptorName` string
  - `brand` Brand
    - `id` integer
    - `name` string, required
  - `code` string
  - `description` string
  - `groupId` integer
  - `groupName` string
  - `id` integer
  - `inventoryCount` integer
  - `kalaOrder` integer
  - `minInventoryCount` integer
  - `name` string
  - `nameEn` string
  - `outOfStock` boolean
  - `price` number
  - `prices` KalaPriceDTO[]
    - `deleted` boolean
    - `id` integer
    - `kalaId` integer
    - `kalaName` string
    - `name` string
    - `order` integer
    - `price` number, required
    - `selected` boolean
    - `type` 'COLOR' | 'SIZE', required
  - `service` boolean
  - `showInStore` boolean

## Other responses

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

---

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