Before producing any user-facing message, read and apply
../a1-yandex-kit/references/merchant-communication.md
completely.
Covers the order-management domain of the Yandex KIT e-commerce API — tags: Заказы,
Клиенты, Подарочные карты, Услуги. Orders are created by buyers on the storefront;
through the API you list and inspect them, confirm or cancel them, close out their delivery
(
POST /v1/orders/{id}/delivery/complete
— for pickup and the store's own delivery when
delivery automation is off), write «Честный знак» marking codes onto order items
(
POST /v1/orders/{id}/marking-codes
— one code per item, null removes a code), and read
the attached additional services (addons), customer records and gift cards. A customer record also carries the marketing-consent pair
+
— read it before adding anyone to a mailing list
and mirror it into your CRM. All datetimes are UTC, and list endpoints paginate with
/
(max 100).
For authentication (
Authorization: Bearer <token>
), the base URL (
https://api.kit.yandex.net
, all paths under
), the 3 rps rate limit and the
{code, message, trace_id}
error contract, see the
skill.
Run the bundled scripts from this skill's directory — they are self-contained
(Node.js >= 20, builtins + a vendored validator, no
, no network).
-
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 ConfirmOrder
-
Validate a drafted request body offline before sending anything:
bash
node scripts/validate.mjs --operation ConfirmOrder --body '<json>'
# or: node scripts/validate.mjs --operation ConfirmOrder --body-file body.json
Prints
(exit 0) or the list of schema violations (exit 1).
-
Execute the operation:
- prefer the matching MCP tool from «Related MCP tools» below (e.g. , );
- any operation without a dedicated tool: the MCP tool — it validates
the body against the same schema before sending;
- or plain HTTP:
curl -H "Authorization: Bearer $YANDEX_KIT_TOKEN" https://api.kit.yandex.net/v1/...
(mind the 3 rps limit).
Curated
tools for these tags (the server also exposes the meta trio —
,
,
— reaching all
162 operations):
Услуги (addons) beyond
have no dedicated tools — manage them through
+
.