---
updatedAt: 2026-11-06T08:14:40.000Z
agentTools:
  projectIndex: https://roappua.readme.io/llms.txt
---

# Оновити особу

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "ro-app-public-api-v2_1",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.roapp.io/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "api_key": []
    }
  ],
  "paths": {
    "/contacts/people/{person_id}": {
      "patch": {
        "summary": "Оновити особу",
        "description": "",
        "operationId": "update-person",
        "parameters": [
          {
            "name": "person_id",
            "in": "path",
            "description": "ID особи",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "first_name": {
                    "type": "string",
                    "description": "Ім'я особи"
                  },
                  "last_name": {
                    "type": "string",
                    "description": "Прізвище особи"
                  },
                  "birthday": {
                    "type": "object",
                    "description": "День народження особи",
                    "properties": {
                      "day": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "month": {
                        "type": "integer",
                        "format": "int32"
                      },
                      "year": {
                        "type": "integer",
                        "format": "int32"
                      }
                    }
                  },
                  "email": {
                    "type": "string",
                    "description": "Дійсний email"
                  },
                  "phones": {
                    "type": "array",
                    "description": "Перелік номерів телефона особи",
                    "items": {
                      "properties": {
                        "title": {
                          "type": "string",
                          "description": "Назва номеру телефону"
                        },
                        "phone": {
                          "type": "string",
                          "description": "Номер телефону у міжнародному форматі"
                        },
                        "notify": {
                          "type": "boolean",
                          "description": "Чи погодився клієнт отримувати SMS на цей номер?"
                        },
                        "has_viber": {
                          "type": "boolean",
                          "description": "Чи можна надсилати повідомлення у Viber на цей номер?"
                        },
                        "has_whatsapp": {
                          "type": "boolean",
                          "description": "Чи можна надсилати повідомлення у WhatsApp на цей номер?"
                        }
                      },
                      "required": [
                        "title",
                        "phone",
                        "notify",
                        "has_viber",
                        "has_whatsapp"
                      ],
                      "type": "object"
                    }
                  },
                  "notes": {
                    "type": "string",
                    "description": "Текст нотаток"
                  },
                  "address": {
                    "type": "string",
                    "description": "Адреса особи"
                  },
                  "supplier": {
                    "type": "boolean",
                    "description": "Чи є ця особа вашим постачальником?"
                  },
                  "manager_id": {
                    "type": "integer",
                    "description": "ID менеджера особи",
                    "format": "int32"
                  },
                  "ad_campaign_id": {
                    "type": "integer",
                    "description": "ID рекламної кампанії",
                    "format": "int32"
                  },
                  "discount_code": {
                    "type": "string",
                    "description": "Код знижки"
                  },
                  "custom_fields": {
                    "type": "string",
                    "description": "Користувальницькі поля у форматі {\"f123\": \"значення\", \"f234\": \"значення\"}, де \"f123\" та \"f234\" – ID користувальницьких полів..",
                    "format": "json"
                  },
                  "tags": {
                    "type": "array",
                    "description": "Масив тегів",
                    "items": {
                      "type": "string"
                    }
                  },
                  "tax_identification_number": {
                    "type": "string",
                    "description": "Ідентифікаційний податковий номер"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```