Approve and order

checkout_prepare

Preview the total, tax and pickup details without placing an order.

View as Markdown

A dry run. Nothing is ordered and the card is not touched.

TypeRead: looks things up, changes nothing
Needs a cart the buyer approvedNo
Moves moneyNo
Tool description (what the assistant sees)
Builds a checkout summary for a cart without placing an order or touching payment. The response carries requires_user_approval=true and purchase_executed=false.

#Parameters

NameTypeRequiredDescription
cart_iduuidYesThe cart.
itemsobject[]YesThe cart lines as returned by cart_build: for each, requested, product, quantity and line_total. 1 to 50 lines.