Cart
cart_get
Read a cart back with its items, frozen prices and total.
Call it before asking for approval, so the total you show is the one on XEKTA's record.
| Type | Read: looks things up, changes nothing |
| Needs a cart the buyer approved | No |
| Moves money | No |
Tool description (what the assistant sees)
Returns one cart with its items, frozen prices and total. Read-only.#Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cart_id | uuid | Yes | The cart. |
#Notes
buyer_summaryalready 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_centsandtotal_centsset tonulland atax_errorfield. See Errors.