CRM · Чтение
Клиенты · Просмотр
customer_get
Попробуйте три запроса
Получить данные
- Вы указываетеКлиент
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Клиенты / Просмотр» выполни чтение по выбранной записи (клиент). Выведи кратко: клиент, displayName.
- customerId
- Клиент
- displayName
- Поле ответа
- firstName
- Поле ответа
Задать параметры
- Вы указываетеКлиент
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Клиенты / Просмотр» на учебном примере с customerId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- customerId
- DEMO-101
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Клиенты / Просмотр» объясни клиент, displayName. Отметь отсутствующие значения.
- customerId
- Клиент
- displayName
- Поле ответа
- firstName
- Поле ответа
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Get one verified customer profile. Use customerId from customers_search; returns a compact profile and no credentials, permission maps or bank account information.
Параметры запроса
- customerId
- Идентификатор клиента, выбранного по результату поиска. обязательно по схеме · string · до символов 160
Что вернёт команда
- customerId
- Canonical top-level users document identifier for this customer. обязательно по схеме · string
- displayName
- Customer display name from the existing profile. обязательно по схеме · string
- firstName
- Stored customer first name. обязательно по схеме · string
- lastName
- Stored customer last name. обязательно по схеме · string
- locationId
- Canonical establishment identifier assigned to this profile, or null if unassigned. обязательно по схеме · string / null
- language
- Stored language selection; an empty string means it was not set. обязательно по схеме · string
- blocked
- Whether the existing profile is blocked. обязательно по схеме · boolean
- note
- Customer profile Comment; does not include employee permissions, account details or credentials. обязательно по схеме · string
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"customerId": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Canonical customer identifier returned by a search action in the currently connected workspace. Never construct it from a display name."
}
},
"required": [
"customerId"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"customerId": {
"type": "string",
"description": "Canonical top-level users document identifier for this customer."
},
"displayName": {
"type": "string",
"description": "Customer display name from the existing profile."
},
"firstName": {
"type": "string",
"description": "Stored customer first name."
},
"lastName": {
"type": "string",
"description": "Stored customer last name."
},
"locationId": {
"description": "Canonical establishment identifier assigned to this profile, or null if unassigned.",
"type": [
"string",
"null"
]
},
"language": {
"type": "string",
"description": "Stored language selection; an empty string means it was not set."
},
"blocked": {
"type": "boolean",
"description": "Whether the existing profile is blocked."
},
"note": {
"type": "string",
"description": "Customer profile Comment; does not include employee permissions, account details or credentials."
}
},
"required": [
"customerId",
"displayName",
"firstName",
"lastName",
"locationId",
"language",
"blocked",
"note"
],
"additionalProperties": false
}