Preview basket
preview_basketPreview intended cart quantity changes without altering the cart, showing availability, pack details, estimated cost, and whether each would add, increase, decrease, remove, or be refused.
Instructions
Check products and the total wanted of each before changing the cart, without changing anything. For each: what the cart holds, what set_cart_item_quantity would do (add, increase, decrease, remove or none), why it would be refused (such as a minimum or step), availability, pack details and the estimated cost. Reads one product page per item, at most 30. Prices and stock can change before you apply it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Products and the total you want of each, at most 30. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |