Лояльность · Чтение
Клиенты · Рефералы · Ссылки · Список
customer_referral_link_list
Попробуйте три запроса
Получить данные
- Вы указываетеОбъект
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Клиенты / Рефералы / Ссылки / Список» выполни чтение в текущей компании. Выведи кратко: список позиций, следующая страница.
- items
- Список позиций
- nextCursor
- Следующая страница
Следующая страница
- Вы указываетеПредыдущий ответ
- ПомощникПродолжение
- Вы получаетеСледующая страница
Запрос в чат
Продолжи «Клиенты / Рефералы / Ссылки / Список» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Клиенты / Рефералы / Ссылки / Список» объясни список позиций, следующая страница. Отметь отсутствующие значения.
- items
- Список позиций
- nextCursor
- Следующая страница
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
List the current company’s personal referral links with bounded document-ID pagination.
Параметры запроса
- after
- Document ID cursor returned by the preceding page. необязательно · string
- limit
- Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 20 · минимум 1 · максимум 50
Что вернёт команда
- items
- Записи, которые вернул этот запрос. обязательно по схеме · array
- nextCursor
- Курсор для получения следующей страницы. обязательно по схеме · string / null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"after": {
"description": "Document ID cursor returned by the preceding page.",
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"limit": {
"default": 20,
"description": "Maximum records to return.",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"limit"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"companyId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Authenticated company owning this record."
},
"code": {
"type": "string",
"pattern": "^cr_[A-Za-z0-9_-]{32}$",
"description": "Public customer referral code returned by link creation."
},
"groupId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Exact existing native customer group ID; this also identifies its referral program."
},
"customerId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Exact active native customer ID in this company."
},
"url": {
"type": "string",
"format": "uri",
"description": "Shareable destination including the public customer_ref code."
},
"expiresAt": {
"description": "UTC Unix milliseconds when the link expires, or null for no link-specific expiration.",
"type": [
"number",
"null"
]
},
"disabled": {
"type": "boolean",
"description": "Whether new attribution from this link is blocked."
},
"revision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Current native referral record revision."
},
"createdAt": {
"type": "number",
"description": "Creation time in UTC Unix milliseconds."
},
"programRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Program revision observed when this link was created."
}
},
"required": [
"companyId",
"code",
"groupId",
"customerId",
"url",
"expiresAt",
"disabled",
"revision",
"createdAt",
"programRevision"
],
"additionalProperties": false
},
"description": "Company-scoped records in this bounded page."
},
"nextCursor": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Exact native company-owned record identifier."
},
{
"type": "null"
}
],
"description": "Next document ID cursor, or null when complete."
}
},
"required": [
"items",
"nextCursor"
],
"additionalProperties": false
}