Cart

cart_get

Read a cart back with its items, frozen prices and total.

View as Markdown

Call it before asking for approval, so the total you show is the one on XEKTA's record.

TypeRead: looks things up, changes nothing
Needs a cart the buyer approvedNo
Moves moneyNo
Tool description (what the assistant sees)
Returns one cart with its items, frozen prices and total. Read-only.

#Parameters

NameTypeRequiredDescription
cart_iduuidYesThe cart.

#Notes

  • buyer_summary already holds the text to show the buyer: items, quantities, unit prices, the amount due, and which shop they collect from.
  • When sales tax cannot be worked out, the cart still comes back, with tax_cents and total_cents set to null and a tax_error field. See Errors.