---
title: "PATCH /v1/crm/clients/{id}/"
method: PATCH
path: "/v1/crm/clients/{id}/"
tags: ["v1"]
---

# PATCH /v1/crm/clients/{id}/

`PATCH /v1/crm/clients/{id}/`

## Path parameters

- `id` integer, required

## Request body

- PatchedClientEdit
  - `id` integer
  - `ticks` integer[]
  - `bonus` ClientBonus
    - `id` integer, required
    - `amount` string, decimal
    - `created_at` string, date-time, required
  - `orders_count` integer
  - `orders_amount` string, decimal
  - `orders_paid_amount` string, decimal
  - `orders_debt_amount` string, decimal
  - `overdue_rentals_amount` string, decimal
  - `transfer_count` integer
  - `transfer_amount` string, decimal
  - `last_rent_date` string, date-time
  - `total_time` string
  - `iin` string
  - `bin` string
  - `legal` PassportLegal
    - `bin` string, nullable
    - `address` string, nullable
    - `director` string, nullable
    - `iban` string, nullable
    - `bik` string, nullable
    - `bank` string, nullable
  - `individual` PassportIndividual
    - `iin` string, nullable
    - `address` string, nullable
    - `document_number` string, nullable
    - `issuer_manual` string, nullable
    - `issue_date` string, date, nullable
    - `issue_date_end` string, date, nullable
    - `birth_date` string, date, nullable
  - `balance` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `uuid` string, uuid
  - `name` string
  - `type` 0 | 1 — * `0` - Физ. лицо * `1` - Юр. лицо
  - `legal_type` union
    - 0 | 1 | 2 | 3 — * `0` - ИП * `1` - ТОО * `2` - АО * `3` - ПК
    - unknown
  - `gender` union
    - 0 | 1 — * `0` - мужской * `1` - женский
    - unknown
  - `comment` string, nullable
  - `avatar` string, uri, nullable
  - `email` string, email, nullable
  - `phone` string
  - `deposit` string, decimal, nullable
  - `agreement_id` string, nullable
  - `signed` boolean
  - `sign_date` string, date, nullable
  - `sign_expires` string, date, nullable
  - `deleted_at` string, date-time, nullable
  - `extra` unknown
  - `deleted` boolean
  - `tenant` integer
  - `legal_passport` integer, nullable
  - `individual_passport` integer, nullable
  - `attraction` integer, nullable
  - `discount` integer, nullable
  - `user` integer, nullable

## Response `200`

- ClientEdit
  - `id` integer, required
  - `ticks` integer[]
  - `bonus` ClientBonus, required
    - `id` integer, required
    - `amount` string, decimal
    - `created_at` string, date-time, required
  - `orders_count` integer, required
  - `orders_amount` string, decimal, required
  - `orders_paid_amount` string, decimal, required
  - `orders_debt_amount` string, decimal, required
  - `overdue_rentals_amount` string, decimal, required
  - `transfer_count` integer, required
  - `transfer_amount` string, decimal, required
  - `last_rent_date` string, date-time, required
  - `total_time` string, required
  - `iin` string, required
  - `bin` string, required
  - `legal` PassportLegal
    - `bin` string, nullable
    - `address` string, nullable
    - `director` string, nullable
    - `iban` string, nullable
    - `bik` string, nullable
    - `bank` string, nullable
  - `individual` PassportIndividual
    - `iin` string, nullable
    - `address` string, nullable
    - `document_number` string, nullable
    - `issuer_manual` string, nullable
    - `issue_date` string, date, nullable
    - `issue_date_end` string, date, nullable
    - `birth_date` string, date, nullable
  - `balance` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `uuid` string, uuid, required
  - `name` string, required
  - `type` 0 | 1 — * `0` - Физ. лицо * `1` - Юр. лицо
  - `legal_type` union
    - 0 | 1 | 2 | 3 — * `0` - ИП * `1` - ТОО * `2` - АО * `3` - ПК
    - unknown
  - `gender` union
    - 0 | 1 — * `0` - мужской * `1` - женский
    - unknown
  - `comment` string, nullable
  - `avatar` string, uri, nullable
  - `email` string, email, nullable
  - `phone` string, required
  - `deposit` string, decimal, nullable
  - `agreement_id` string, nullable, required
  - `signed` boolean
  - `sign_date` string, date, nullable
  - `sign_expires` string, date, nullable
  - `deleted_at` string, date-time, nullable
  - `extra` unknown
  - `deleted` boolean
  - `tenant` integer
  - `legal_passport` integer, nullable
  - `individual_passport` integer, nullable
  - `attraction` integer, nullable
  - `discount` integer, nullable
  - `user` integer, nullable

---

[API](https://skmtc.net/yume-cloud/apis/yume-api.md) · [All operations](https://skmtc.net/yume-cloud/apis/yume-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yume-cloud/yume-api/versions/90700f5abfcc/schema)
