Read the web visitor cart
web_cartVerify an Alza web add-to-cart operation by reading the anonymous checkout cart via basket ID, revealing cart state and item lines before placing an order.
Instructions
Read the anonymous (visitor) Alza web checkout cart by basket_id (obtained from web_add_to_cart): the HATEOAS cart state (maxStep, itemsAction, emptyCartAction) plus item lines (productId, count, basketItemId, updateQuantityAction). Use to verify a web_add_to_cart worked or to inspect the web cart before web_place_order. Do not use for the authenticated account cart — that is cart. Read-only; no token required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basket_id | Yes | Basket id returned by `web_add_to_cart` (the current web basket). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| err | No | ||
| msg | No | ||
| data | No |