Get basket
hktv_get_cartRetrieves the account's current HKTVmall basket with quantities, unit prices, stock, delivery fees, free-delivery gap, totals, and checkout URL so assistants can review it before payment.
Instructions
The account's HKTVmall basket as HKTVmall shows it now: lines with quantity, unit price and stock left, delivery groups with fees and the amount still needed for free delivery, totals, and checkout_url where the person pays. In people mode, connection identifies whose basket this is and account_context identifies the current caller, selection, grant and reconnect epoch. It lasts until one of those changes, including switching away and back. Needs the account's sign-in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| totals | Yes | ||
| connection | No | ||
| line_items | Yes | ||
| checkout_url | Yes | ||
| account_context | No | Pass unchanged to basket updates in people mode | |
| delivery_groups | Yes |