Submit an order (mobile API)
place_orderSubmits a confirmed Alza purchase using a checkout token and order payloads to create a real order. Requires explicit user confirmation and a valid mobile API token.
Instructions
Submit an order through the mobile API's multi-step sequence using a checkout token from checkout_preview plus the three explicit payloads (delivery_payment, user_info, complete_order) copied from the preview/delivery responses. Use only when the user has explicitly confirmed the purchase. High-impact, money-relevant side effect: creates a real Alza order. Known issue: the mobile sendOrder3 step currently returns HTTP 500 (docs/gap-analysis.md G1/G5) — for a known-working submission path prefer web_place_order (legacy web WCF). Requires a loaded mobile API access token — check account_status first; if none is loaded, run auth_start, have the user complete the browser sign-in, then auth_exchange with the returned code and state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_info | Yes | SendOrderUserInfo object (contact + address fields) copied from or confirmed against the profile/address book. | |
| complete_order | Yes | SendCompleteOrder object copied from the checkout response. | |
| delivery_payment | Yes | SelectedDeliveryPayment object copied from the checkout/delivery response. | |
| confirmation_token | Yes | Checkout token from `checkout_preview` (one-time). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| err | No | ||
| msg | No | ||
| data | No |