quick_checkout
Assemble checkout-ready cart(s) in ONE call for a multi-product (and optionally multi-store) request. Creates a cart per store, adds all items, and sets the shipping address — then returns the cart(s) with delivery options to choose. Use this when the buyer lists several products at once (optionally across stores) and/or gives their address up front, instead of calling create_cart/add_to_cart/set_shipping_address separately. Does NOT select delivery, check out, or pay — the buyer picks delivery (select_shipping_option) and approves checkout/payment per store afterward. Out-of-stock items are reported; pass customer.email to auto-arm a back-in-stock alert for them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Products to buy. Each entry: { site_id, product_id, quantity, variant_id?, addons? }. Items may span multiple stores (grouped by site_id). | |
| customer | No | Optional buyer contact carried for checkout; customer.email arms back-in-stock alerts for out-of-stock items. | |
| shipping_address | Yes | Buyer delivery address (applied to every store). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||