Set order marking codes
set_order_marking_codesWrite or remove Chestny ZNAK marking codes on order items atomically. Provide the full code with crypto tail for each item, or null to clear it; if one code fails, none are applied.
Instructions
Write «Честный знак» (Chestny ZNAK) marking codes onto order items, or remove them. Each order item is a single unit and takes exactly one code; item IDs come from get_order under delivery_chunks[].items[].id. Pass the code in full, including the crypto tail; pass marking_code null to remove a previously written code. Atomic: if any code fails the server-side check the whole request is rejected and nothing is written.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"items": "<items>"
},
"name": "set_order_marking_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Order ID (UUID). | |
| items | Yes | Order items with their marking codes, 1-100 items, one entry per item. |