Каталог · Чтение
Каталог · Цены · Правила · Просмотр
catalog_price_rules_get
Попробуйте три запроса
Получить данные
- Вы указываетеКлюч записи
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Каталог / Цены / Правила / Просмотр» выполни чтение по выбранной записи (ключ записи). Выведи кратко: ключ записи, версия записи.
- key
- Ключ записи
- revision
- Версия записи
- values
- Изменяемые поля
Уточнить объект
- Вы указываетеКлюч записи
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Перед чтением «Каталог / Цены / Правила / Просмотр» сверь ключ записи с выбранной мной записью. Если совпадений несколько, покажи различия и дождись выбора.
- key
- Из выбранной записи
- При совпадениях
- Уточнить выбор
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Каталог / Цены / Правила / Просмотр» объясни ключ записи, версия записи. Отметь отсутствующие значения.
- key
- Ключ записи
- revision
- Версия записи
- values
- Изменяемые поля
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Get product price rules and its current revision before editing. Returns only authorized fields; company and location scope cannot be overridden.
Параметры запроса
- key
- Канонический ключ записи из результата чтения. обязательно по схеме · object
Что вернёт команда
- key
- Canonical business identifier. Company identity is always supplied by authentication. обязательно по схеме · object
- revision
- Current revision; pass it unchanged to update or delete. обязательно по схеме · string
- values
- Authorized native entity fields, with credentials and internal service data excluded. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"key": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Canonical product price rules identifier from catalog_price_rules_list. Copy the exact identifier; it is not a name or display number."
}
},
"required": [
"id"
],
"additionalProperties": false,
"description": "Identifier obtained from the list action."
}
},
"required": [
"key"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"key": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Canonical product price rules identifier from catalog_price_rules_list. Copy the exact identifier; it is not a name or display number."
}
},
"required": [
"id"
],
"additionalProperties": false,
"description": "Canonical business identifier. Company identity is always supplied by authentication."
},
"revision": {
"type": "string",
"pattern": "^[a-f0-9]{32}$",
"description": "Current revision; pass it unchanged to update or delete."
},
"values": {
"type": "object",
"properties": {
"id": {
"description": "id in product price rules.",
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"created_at": {
"description": "created at in product price rules. Use an ISO timestamp with Z or an explicit UTC offset.",
"anyOf": [
{
"type": "string",
"maxLength": 500000
},
{
"type": "null"
}
]
},
"price_type": {
"description": "price type in product price rules.",
"anyOf": [
{
"type": "string",
"maxLength": 500000
},
{
"type": "null"
}
]
},
"channels": {
"description": "channels in product price rules.",
"anyOf": [
{
"maxItems": 10000,
"type": "array",
"items": {
"type": "string",
"maxLength": 500000
}
},
{
"type": "null"
}
]
},
"product": {
"description": "product in product price rules.",
"anyOf": [
{
"type": "string",
"maxLength": 500000
},
{
"type": "null"
}
]
},
"price": {
"description": "price in product price rules.",
"type": [
"number",
"null"
]
},
"currency": {
"description": "currency in product price rules.",
"anyOf": [
{
"type": "string",
"maxLength": 500000
},
{
"type": "null"
}
]
},
"starts_at": {
"description": "starts at in product price rules. Use an ISO timestamp with Z or an explicit UTC offset.",
"anyOf": [
{
"type": "string",
"maxLength": 500000
},
{
"type": "null"
}
]
},
"ends_at": {
"description": "ends at in product price rules. Use an ISO timestamp with Z or an explicit UTC offset.",
"anyOf": [
{
"type": "string",
"maxLength": 500000
},
{
"type": "null"
}
]
},
"establishment": {
"description": "Canonical identifier from company_locations_list. Each linked entity must belong to the same workspace. An empty value clears an optional link.",
"anyOf": [
{
"type": "string",
"maxLength": 500000
},
{
"type": "null"
}
]
},
"company": {
"description": "company in product price rules.",
"anyOf": [
{
"type": "string",
"maxLength": 500000
},
{
"type": "null"
}
]
},
"groups": {
"description": "groups in product price rules.",
"anyOf": [
{
"maxItems": 10000,
"type": "array",
"items": {
"type": "string",
"maxLength": 500000
}
},
{
"type": "null"
}
]
},
"users": {
"description": "users in product price rules.",
"anyOf": [
{
"maxItems": 10000,
"type": "array",
"items": {
"type": "string",
"maxLength": 500000
}
},
{
"type": "null"
}
]
},
"is_active": {
"description": "is active in product price rules.",
"type": [
"boolean",
"null"
]
},
"created_by": {
"description": "created by in product price rules.",
"anyOf": [
{
"type": "string",
"maxLength": 500000
},
{
"type": "null"
}
]
},
"comment": {
"description": "comment in product price rules.",
"anyOf": [
{
"type": "string",
"maxLength": 500000
},
{
"type": "null"
}
]
},
"priority": {
"description": "priority in product price rules.",
"anyOf": [
{
"type": "string",
"maxLength": 500000
},
{
"type": "null"
}
]
},
"between": {
"description": "between in product price rules.",
"anyOf": [
{
"maxItems": 10000,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false,
"description": "Authorized native entity fields, with credentials and internal service data excluded."
}
},
"required": [
"key",
"revision",
"values"
],
"additionalProperties": false
}