⚠️ Orders: click-and-collect (details)
orders_cnc_set_detailsPrepares a click-and-collect order by setting the pickup address, booking period, and comment. Sends the details to the buyer.
Instructions
⚠️ Prepares a click-and-collect order and sends the details to the buyer (cnc_set_details, CNC = click-and-collect). Write operation: the seller sets the pickup address, the booking period, and a comment the buyer will see. Call it when the order has an available setCNCDetails action. After handover, confirmation is done via orders_apply_transition (receive) with the buyer's code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Avito order ID. | |
| marketplaceId | Yes | Order number in the new Avito system (marketplace). | |
| bookingPeriod | Yes | Item booking period in hours (e.g. 4). | |
| address | No | Address where the buyer picks up the item (e.g. "Tverskaya Street 3, Moscow"). | |
| details | No | A comment the buyer will receive (e.g. "I can hand over the item from 13:00 to 18:00"). | |
| dryRun | No | v0.7.0: if true — returns a preview of the HTTP request without calling the Avito API. Safe for inspecting exactly what would be done. Default: the value of AVITO_MCP_DRY_RUN_DEFAULT (usually false). | |
| idempotencyKey | No | v0.7.0: optional key for duplicate protection. A repeat call with the same key within AVITO_MCP_IDEMPOTENCY_TTL_SEC returns the cached result. The same key with different args returns a conflict error — this is safe by design. |