Каталог · Чтение
Найти товар по названию
Ищет товары и услуги по названию и возвращает ID совпадений.
catalog_search_products
Попробуйте три запроса
По названию
- Вы указываетеСиняя кружка
- ПомощникПоиск по названию
- Вы получаетеВарианты с ID
Запрос в чат
Найди в каталоге синюю кружку. Покажи до пяти совпадений с названием и ID. Если вариантов несколько, дай мне выбрать.
- Кружка 250 мл
- DEMO-101
- Кружка 400 мл
- DEMO-104
В филиале
- Вы указываетеФилиал и услуга
- ПомощникФильтр locationId
- Вы получаетеУслуги точки
Запрос в чат
Найди услугу «Стрижка» в выбранном филиале. Используй его ID и покажи названия подходящих услуг.
- Поиск
- Стрижка
- Филиал
- Из выбранной точки
Ещё варианты
- Вы указываетеПрежний поиск
- ПомощникСледующее смещение
- Вы получаетеНовые совпадения
Запрос в чат
Продолжи поиск кружек со смещения из предыдущего ответа. Оставь тот же текст, язык и размер страницы.
Страница 1Первые совпадения
Страница 2По nextOffset
Пример вызова через sabsus_action_call
{
"name": "catalog_search_products",
"arguments": {
"search": "кружка",
"language": "ru",
"limit": 5,
"offset": 0
}
}Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.
Описание разработчика
Find products, services, rental items, and appointment products. Use to discover canonical identifiers or inspect existing records. Do not use to create or modify records. Returns a bounded page of safe business summaries. Use the returned IDs unchanged in matching actions; no business state changes.
Параметры запроса
- id
- Идентификатор выбранной записи. необязательно · string · до символов 128
- search
- Optional substring of the name in the requested language. Omit to browse. необязательно · string · до символов 120
- language
- Язык результата или локализуемого значения согласно схеме. обязательно по схеме · string · по умолчанию "en"
- locationId
- Идентификатор точки из текущего подключения. необязательно · string · до символов 128
- limit
- Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 20 · минимум 1 · максимум 50
- offset
- Смещение из предыдущей страницы или начальное значение из схемы. обязательно по схеме · integer · по умолчанию 0 · минимум 0 · максимум 10000
Что вернёт команда
- items
- Записи, которые вернул этот запрос. обязательно по схеме · array · до элементов 50
- nextOffset
- Смещение для получения следующей страницы. обязательно по схеме · integer / null
- hasMore
- Есть ли ещё одна страница результата. обязательно по схеме · boolean
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$",
"description": "Canonical find products, services, rental items, and appointment products identifier returned by search. Copy the exact value; never derive it from a name, phone number, or another ID."
},
"search": {
"description": "Optional substring of the name in the requested language. Omit to browse.",
"type": "string",
"minLength": 1,
"maxLength": 120
},
"language": {
"default": "en",
"description": "Language code for localized labels; defaults to English. This does not change stored data.",
"type": "string",
"pattern": "^[a-z]{2,3}(?:-[A-Z]{2})?$"
},
"locationId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$",
"description": "Canonical establishment identifier returned by search. Copy the exact value; never derive it from a name, phone number, or another ID."
},
"limit": {
"default": 20,
"description": "Maximum returned records, from 1 to 50.",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"offset": {
"default": 0,
"description": "Number of records to skip in the same search. Use nextOffset from the previous result with unchanged filters.",
"type": "integer",
"minimum": 0,
"maximum": 10000
}
},
"required": [
"language",
"limit",
"offset"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"description": "Canonical find products, services, rental items, and appointment products record identifier. Use only with actions for this same entity type."
},
"name": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"description": "Localized product or service name."
},
"type": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"description": "Stored product type; preserve this exact value."
},
"price": {
"description": "Stored base price in the establishment currency; options, formulas, taxes, and channel pricing can change the final quote.",
"type": [
"number",
"null"
]
},
"unit": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"description": "Stored unit of measurement."
},
"available": {
"description": "Whether the catalog record is currently available.",
"type": [
"boolean",
"null"
]
},
"appointment": {
"description": "Whether the existing product supports appointments.",
"type": [
"boolean",
"null"
]
},
"rental": {
"description": "Whether the existing product supports rental bookings.",
"type": [
"boolean",
"null"
]
},
"locationIds": {
"type": "array",
"items": {
"type": "string",
"description": "Canonical authorized establishment identifier."
},
"description": "Only establishments visible to this connection."
}
},
"required": [
"id",
"name",
"type",
"price",
"unit",
"available",
"appointment",
"rental",
"locationIds"
],
"additionalProperties": false
},
"description": "Matching authorized business records, with internal fields removed."
},
"nextOffset": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Offset for the next page, or null when there is no next page."
},
"hasMore": {
"type": "boolean",
"description": "Whether the same search has another page."
}
},
"required": [
"items",
"nextOffset",
"hasMore"
],
"additionalProperties": false
}