Delete shipping rate
delete_shipping_rateDelete a shipping rate after the merchant confirms.
Use to remove an unwanted rate, e.g. the free "Default" rate that would undercut a new paid one. If it is the only rate priced in a channel, checkout there has no delivery option until another rate is added. Call without confirmation_token to get a preview and a token; call again with the token only after the merchant confirms.
Args:
ctx: MCP context for logging and request metadata
shipping_rate_id: ID of the shipping rate (see list_shipping_rates)
confirmation_token: Token from the preview call, after the merchant confirms
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": {
"shipping_rate_id": "<shipping_rate_id>"
},
"name": "delete_shipping_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shipping_rate_id | Yes | ||
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||