Place an order (legacy web WCF — working path)
web_place_orderPlace a confirmed Alza order via the working web checkout path, using delivery, payment, contact details, and a one-time token from prepare_mutation.
Instructions
Place an order through the live-verified legacy web WCF checkout pipeline (EShopService.svc: SaveOrder2 → SaveOrder3 → SaveAndConfirmOrder2 with the documented AlzaPlus 113-gate retry → CheckOrder4 → SendOrder4). This is the currently-working order-submission path — the mobile place_order (sendOrder3) returns HTTP 500 (docs/gap-analysis.md G1/G5). Typed inputs only: delivery_id/delivery_group_id from delivery_options, parcel_shop_id from web_pickup_places, payment_id from payment_methods, plus the contact/address block. High-impact, money-relevant: creates a real Alza order — use only with explicit user confirmation, with a one-time token from prepare_mutation (action=web_place_order). Example: web_place_order({delivery_id: 2680, parcel_shop_id: "1128203", payment_id: 103, name: "Jan Novák", street: "Praha 110 00", city: "Praha", zip_code: "110 00", phone: "+420 777 123 456", email: "jan@example.cz", confirmation_token: "..."}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City. | |
| name | Yes | Recipient name. | |
| Yes | Contact email (order confirmation goes here). | ||
| login | No | Existing login to buy as (defaults to the email). | |
| phone | Yes | Contact phone. | |
| street | Yes | Street and house number. | |
| zip_code | Yes | Postal code. | |
| quotation | No | Treat the order as a quotation instead of a purchase. Default false. | |
| country_id | No | Country id for the order. Default 0 (server default, CZ). | |
| payment_id | Yes | Payment method id (e.g. 103 proforma; from `payment_methods`). | |
| delivery_id | Yes | Delivery option id (e.g. 2680 for AlzaBox; from `delivery_options`). | |
| register_user | No | Register the buyer as a new account as part of checkout. Default false. | |
| user_consents | No | User consent flags verbatim from the checkout context (consent_id → accepted). | |
| parcel_shop_id | No | Pickup place id (an AlzaBox parcelShopId from `web_pickup_places`), when delivering to a pickup point. | |
| basket_consents | No | Basket-level consent flags verbatim from the checkout context (consent_id → accepted). | |
| delivery_group_id | No | Live delivery group id (from `delivery_options`; omit or 0 for the server default). | |
| confirmation_token | Yes | One-time token from `prepare_mutation` prepared with the matching action. | |
| internal_description | No | Internal order note, if required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| err | No | ||
| msg | No | ||
| data | No |