Submit an order request
place_orderSubmit an order request on behalf of the buyer, only after they approved the items and the quote total, and gave their name and email. No payment is taken and nothing is charged: a 6-digit code is emailed to the buyer; after the buyer confirms (confirm_order or the email link) a manager checks it and contacts them. Call quote first and pass its total_minor as expected_total_minor; if the total changed you get price_changed with the new total. For lang en, ship_to is required. Returns order_number, order_secret (keep it for confirm_order and resend_code), status (awaiting_buyer_code), code_expires_at, total, replay (true if the same idempotency_key returned an existing request) and next steps. idempotency_key is required: reuse it on retries so a lost reply never creates a second request. Do not use it to only show a price (use quote) or when the buyer prefers the site (use cart_link). Use only the buyer's own email with their consent. Limits: 3 requests per hour per buyer email and per network address.
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": {
"items": "<items>",
"contact": "<contact>",
"expected_total_minor": "<expected_total_minor>",
"idempotency_key": "<idempotency_key>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Site language and market (optional, default uk). uk = Ukrainian site and ru = Russian site: Ukraine market, prices in UAH, Nova Poshta delivery, no ship_to. en = English site (site root): EU market, prices in EUR excluding VAT, delivery to EU countries, ship_to is required for quote and place_order. Use the market of the buyer; the range, prices and product handles differ between markets, so keep the same lang across search_products, get_product, quote, cart_link and place_order. | uk |
| items | Yes | Order lines, 1 to 50, e.g. [{"handle": "ct-6205-2rs", "qty": 10}]. Each handle at most once (merge duplicates into one line). | |
| comment | No | Any other wishes or notes for the manager, up to 2000 characters. Optional. | |
| contact | Yes | Buyer contact details: name and email are required, phone is optional. Collect them from the buyer; do not guess them. | |
| ship_to | No | Delivery destination, e.g. {"country": "DE", "postcode": "10115"}. Required when lang is en (EU market: shipping and VAT depend on the country); must be omitted for uk and ru (Ukraine: Nova Poshta, no destination country). | |
| delivery | No | Delivery details as free text, up to 1000 characters. Ukraine (uk, ru): city and Nova Poshta branch, e.g. "Kyiv, branch 12". EU (en): street address and city, e.g. "Hauptstrasse 5, Berlin"; the country goes into ship_to. Optional; if omitted, the manager asks the buyer. | |
| assistant | No | Name of the assistant placing the order, up to 60 characters (letters, digits, space and . _ ( ) / -), e.g. "Claude" or "ChatGPT". Optional; shown to the manager as the order source. Dots and slashes are replaced with spaces. | |
| idempotency_key | Yes | Required. A UUID version 4 that you generate, e.g. "3f2b8c1e-5d4a-4e7b-9a60-1c2d3e4f5a6b". Use a NEW key for each new order request; on a retry of the same request (timeout, lost reply) send the SAME key: you get the same order and its order_secret instead of a duplicate. The same key with different contents is rejected (token_reused). | |
| expected_total_minor | Yes | Order total the buyer agreed to: total_minor from the quote reply, an integer in minor units of the market currency (kopiyky for UAH, euro cents for EUR; 150000 = 1500.00). Required. If the total changed since the quote, the order is rejected with price_changed and the new total. |