Update Cart Item
update_cart_itemUpdate a cart item's quantity using an approved plan. Requires user approval and avoids duplicate writes via plan ID tracking.
Instructions
PATCH final quantity using an approved update plan. Never call without user approval.
Increases obey both limits. Decreases are allowed even above the limits. Reusing plan_id never resends the write, including after a restart or timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart | No | ||
| state | Yes | ||
| reason | No | ||
| plan_id | Yes | ||
| limits_exceeded | No |