Start an order and quote it
create_checkoutStart a real order for one product delivered to the shopper's address. Re-checks price, shelf and delivery, then returns the review (item, address, exact total, delivery window, quote expiry) and a checkout_token. Show the shopper the review; if they accept, call confirm_checkout with the token to get the payment link. Nothing is charged here. Pass variant_id from get_product when its variant_required is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apt | No | Apartment, suite or unit (optional). | |
| zip | Yes | 5-digit delivery ZIP: San Antonio 782xx or a listed Bexar County ZIP. | |
| street | Yes | Street line only, e.g. "123 Main St"; put the apartment or unit in apt. | |
| product_id | Yes | product_id from search_catalog or get_product. | |
| variant_id | No | variant_id from get_product's variants; required when variant_required is true, omitted otherwise. | |
| delivery_option | No | same_day (default) or next_day. After the same-day cutoff, same_day becomes next-day delivery, or is refused with a message saying to choose next_day. |