Preview cart changes
preview_cart_changesCheck what each cart quantity update would do without applying it: refusal reasons, availability, pack details, costs, and the new total with minimum order and delivery fee.
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, plus the products total after the changes with its minimum order and delivery fee. 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 |