Cancel Shopify cart
cancel_cartCancel a Shopify-owned cart using its id and cart_access_token. Requires meta["idempotency-key"] UUID for retry safety. This does not cancel an order or refund payment.
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>",
"meta": "<meta>",
"cart_access_token": "<cart_access_token>"
},
"name": "cancel_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| meta | Yes | ||
| cart_access_token | Yes | Owner token returned by create_cart. |