get_cart
Retrieve the current contents of a Tuma250 shopping cart to see items, prices, subtotal, shipping options, and total. Use it to review or validate the cart before checkout.
Instructions
Retrieve the current contents of the Tuma250 shopping cart.
Returns: dict containing: - items (list): Each item with product_id, slug, variation_attributes, name, qty, price, subtotal. - total_items (int): Number of distinct line items. - subtotal (float | None): Items cost before shipping. - shipping_options (list): Available shipping methods with label and price. - total (float | None): Grand total including selected shipping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||