a1-yandex-kit-store
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseA1 Yandex KIT — Store
A1 Yandex KIT — 商店
Communication
沟通规范
Before producing any user-facing message, read and apply
completely.
../a1-yandex-kit/references/merchant-communication.mdCovers the store-level domain of the Yandex KIT e-commerce API — tags: Магазин,
Склады, Пользователи, Гео, Файлы, Редиректы, Новости, Алерты. This is where you read the store
profile and the API user, manage warehouses (variant stocks reference them;
uses JSON Merge Patch), upload files ( — with in the
catalog domain, one of the API's two endpoints), and maintain SEO
redirects and blog/news posts.
UpdateWarehousePOST /v1/filesPOST /v1/videosmultipart/form-dataAlerts are the store's system-problem feed: requires a status filter
(/) and returns before , newest first within a
severity. Only alerts can be closed by hand via
; an active one is rejected with 400 and
clears itself once the underlying problem is fixed.
GET /v1/alertsACTIVERESOLVEDCRITICALWARNINGWARNINGPOST /v1/alerts/{alert_id}/resolveCRITICALFor authentication (), the base URL (, all paths under ), the 3 rps rate limit and the error contract, see the skill.
Authorization: Bearer <token>https://api.kit.yandex.net/v1/{code, message, trace_id}a1-yandex-kit在生成任何面向用户的消息之前,请完整阅读并遵循中的要求。
../a1-yandex-kit/references/merchant-communication.md涵盖Yandex KIT电商API的商店级领域——标签:商店、仓库、用户、地理区域、文件、重定向、新闻、告警。你可以在此处读取商店资料和API用户信息,管理仓库(商品库存关联仓库;使用JSON Merge Patch),上传文件(——与商品目录领域的一同,是API仅有的两个端点),以及维护SEO重定向和博客/新闻文章。
UpdateWarehousePOST /v1/filesPOST /v1/videosmultipart/form-data告警是商店的系统问题信息流: 必须携带状态过滤器(/),返回结果中(严重)级别排在(警告)之前,同一级别内按最新优先排序。仅级别的告警可通过手动关闭;尝试关闭活跃的告警会返回400错误,且该告警会在底层问题修复后自动清除。
GET /v1/alertsACTIVERESOLVEDCRITICALWARNINGWARNINGPOST /v1/alerts/{alert_id}/resolveCRITICAL关于认证()、基础URL(,所有路径均在下)、每秒3次的速率限制以及错误约定,请查看技能文档。
Authorization: Bearer <token>https://api.kit.yandex.net/v1/{code, message, trace_id}a1-yandex-kitWorkflow
工作流程
Run the bundled scripts from this skill's directory — they are self-contained
(Node.js >= 20, builtins + a vendored validator, no , no network).
npm install-
Search for the operation you need:bash
node scripts/search_docs.mjs "<query>" [--tag "<Тег>"] [--limit N]Matches operation ids, paths, tags and the Russian summaries/descriptions, e.g..node scripts/search_docs.mjs "создать склад" -
Inspect the full contract of one operation — path/query parameters plus the fully dereferenced request/response schemas:bash
node scripts/search_docs.mjs --operation CreateWarehouse -
Validate a drafted request body offline before sending anything:bash
node scripts/validate.mjs --operation CreateWarehouse --body '<json>' # or: node scripts/validate.mjs --operation CreateWarehouse --body-file body.jsonPrints(exit 0) or the list of schema violations (exit 1).VALID -
Execute the operation:
- prefer the matching MCP tool from «Related MCP tools» below (e.g.
mcp-yandex-kit,get_store);create_warehouse - any operation without a dedicated tool: the MCP tool — it validates the body against the same schema before sending;
kit_request - or plain HTTP:
(mind the 3 rps limit).
curl -H "Authorization: Bearer $YANDEX_KIT_TOKEN" https://api.kit.yandex.net/v1/...
- prefer the matching
从本技能目录运行捆绑的脚本——它们是独立的(Node.js >= 20,仅使用内置模块和自带的验证器,无需,无需网络)。
npm install-
搜索所需操作:bash
node scripts/search_docs.mjs "<查询关键词>" [--tag "<标签>"] [--limit N]匹配操作ID、路径、标签以及俄文摘要/描述,例如。node scripts/search_docs.mjs "创建仓库" -
查看单个操作的完整契约——路径/查询参数以及完全解引用的请求/响应 Schema:bash
node scripts/search_docs.mjs --operation CreateWarehouse -
离线验证草拟的请求正文,再发送请求:bash
node scripts/validate.mjs --operation CreateWarehouse --body '<json内容>' # 或:node scripts/validate.mjs --operation CreateWarehouse --body-file body.json验证通过则输出(退出码0),否则输出Schema违规列表(退出码1)。VALID -
执行操作:
- 优先使用下方「相关MCP工具」中匹配的工具(例如
mcp-yandex-kit、get_store);create_warehouse - 无专用工具的操作:使用MCP工具——它会在发送前用相同的Schema验证请求正文;
kit_request - 或使用普通HTTP请求:
(注意每秒3次的速率限制)。
curl -H "Authorization: Bearer $YANDEX_KIT_TOKEN" https://api.kit.yandex.net/v1/...
- 优先使用下方「相关MCP工具」中匹配的
Endpoints (23 operations)
端点(23个操作)
Магазин
商店
| Method | Path | OperationId | Summary (RU) |
|---|---|---|---|
| GET | | | Получение информации о магазине |
| 请求方法 | 路径 | 操作ID | 摘要(中文) |
|---|---|---|---|
| GET | | | 获取商店信息 |
Склады
仓库
| Method | Path | OperationId | Summary (RU) |
|---|---|---|---|
| GET | | | Получение списка складов |
| POST | | | Создание нового склада |
| GET | | | Получение склада по ID |
| PATCH | | | Обновление склада |
| POST | | | Архивирование склада |
| POST | | | Восстановление склада из архива |
| 请求方法 | 路径 | 操作ID | 摘要(中文) |
|---|---|---|---|
| GET | | | 获取仓库列表 |
| POST | | | 创建新仓库 |
| GET | | | 根据ID获取仓库信息 |
| PATCH | | | 更新仓库信息 |
| POST | | | 归档仓库 |
| POST | | | 从归档恢复仓库 |
Пользователи
用户
| Method | Path | OperationId | Summary (RU) |
|---|---|---|---|
| GET | | | Получение текущего пользователя |
| 请求方法 | 路径 | 操作ID | 摘要(中文) |
|---|---|---|---|
| GET | | | 获取当前用户信息 |
Гео
地理区域
| Method | Path | OperationId | Summary (RU) |
|---|---|---|---|
| GET | | | Получение списка регионов |
| 请求方法 | 路径 | 操作ID | 摘要(中文) |
|---|---|---|---|
| GET | | | 获取区域列表 |
Файлы
文件
| Method | Path | OperationId | Summary (RU) |
|---|---|---|---|
| POST | | | Загрузка файла |
| GET | | | Получение файла по ID |
| 请求方法 | 路径 | 操作ID | 摘要(中文) |
|---|---|---|---|
| POST | | | 上传文件 |
| GET | | | 根据ID获取文件信息 |
Редиректы
重定向
| Method | Path | OperationId | Summary (RU) |
|---|---|---|---|
| GET | | | Получение списка редиректов |
| POST | | | Создание редиректа |
| GET | | | Получение редиректа по ID |
| PATCH | | | Обновление редиректа |
| DELETE | | | Удаление редиректа |
| 请求方法 | 路径 | 操作ID | 摘要(中文) |
|---|---|---|---|
| GET | | | 获取重定向列表 |
| POST | | | 创建重定向 |
| GET | | | 根据ID获取重定向信息 |
| PATCH | | | 更新重定向信息 |
| DELETE | | | 删除重定向 |
Новости
新闻
| Method | Path | OperationId | Summary (RU) |
|---|---|---|---|
| GET | | | Получение новости по уникальному идентификатору |
| PATCH | | | Обновление новости |
| DELETE | | | Удаление новости |
| GET | | | Получение списка новостей |
| POST | | | Создание новости |
| 请求方法 | 路径 | 操作ID | 摘要(中文) |
|---|---|---|---|
| GET | | | 根据唯一ID获取新闻 |
| PATCH | | | 更新新闻 |
| DELETE | | | 删除新闻 |
| GET | | | 获取新闻列表 |
| POST | | | 创建新闻 |
Алерты
告警
| Method | Path | OperationId | Summary (RU) |
|---|---|---|---|
| GET | | | Получение списка алертов |
| POST | | | Закрытие алерта |
| 请求方法 | 路径 | 操作ID | 摘要(中文) |
|---|---|---|---|
| GET | | | 获取告警列表 |
| POST | | | 关闭告警 |
Related MCP tools
相关MCP工具
Curated tools for these tags (the server also exposes the meta trio —
, , — reaching all
162 operations):
mcp-yandex-kitsearch_operationsget_operation_schemakit_request- — Get information about the current store (id, slug, b2c_url).
get_store - — Get the user that owns the API token.
get_current_user - — Get the list of geographic regions (countries, regions, cities).
get_regions - — List warehouses of the store (paginated).
list_warehouses - — Get a single warehouse by its ID (title, slug, status).
get_warehouse - — Create a new warehouse.
create_warehouse - — Update an existing warehouse via JSON Merge Patch: send only the fields to change; setting a field to null removes it.
update_warehouse - — Archive a warehouse (soft delete: status becomes ARCHIVED, warehouse can no longer be used for stock) or unarchive it (status becomes ACTIVE again).
warehouse_action - — Upload a file (e.g. an image for a variant or collection) via multipart/form-data.
upload_file - — Get metadata of a previously uploaded file by its ID (name, size, URL).
get_file - — List store news articles (paginated).
list_blogs - — Get one store news article by ID.
get_blog - — Create a store news article.
create_blog - — Update a store news article.
update_blog - — List system alerts of the store (paginated), CRITICAL ones first and newest first within the same severity.
list_alerts - — Mark an alert as resolved.
resolve_alert
Редиректы have no dedicated tools — manage them through + .
search_operationskit_request为上述标签整理的工具(服务器还提供三个元工具——、、——可覆盖全部162个操作):
mcp-yandex-kitsearch_operationsget_operation_schemakit_request- — 获取当前商店信息(ID、别名、b2c_url)。
get_store - — 获取API令牌所属用户信息。
get_current_user - — 获取地理区域列表(国家、地区、城市)。
get_regions - — 列出商店的仓库(分页)。
list_warehouses - — 根据ID获取单个仓库信息(名称、别名、状态)。
get_warehouse - — 创建新仓库。
create_warehouse - — 通过JSON Merge Patch更新现有仓库:仅发送需要修改的字段;将字段设为null会删除该字段。
update_warehouse - — 归档仓库(软删除:状态变为ARCHIVED,仓库无法再用于库存管理)或恢复归档仓库(状态变回ACTIVE)。
warehouse_action - — 通过multipart/form-data上传文件(例如商品或分类的图片)。
upload_file - — 根据ID获取已上传文件的元数据(名称、大小、URL)。
get_file - — 列出商店新闻文章(分页)。
list_blogs - — 根据ID获取单篇商店新闻文章。
get_blog - — 创建商店新闻文章。
create_blog - — 更新商店新闻文章。
update_blog - — 列出商店的系统告警(分页),严重级别告警优先,同一级别内按最新优先排序。
list_alerts - — 将告警标记为已解决。
resolve_alert
重定向暂无专用工具——请通过 + 进行管理。
search_operationskit_request