Switch cart on or off
set_cart_statusSwitches a cart drawer on (shoppers get it instead of the theme's cart, and checkout applies its reward discounts) or off (shoppers get the theme's cart back). One cart is live at a time: switching one on switches the live one off, so confirm with the merchant first. Switching on needs the Plus plan. The result says whether the live theme shows the cart drawer and, if not, gives the merchant a link to turn it on.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"status": "<status>"
},
"name": "set_cart_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Cart id from list_carts. | |
| status | Yes |