WooCommerce: Delete customer
woocommerce_delete_customerPermanently delete a WooCommerce customer while preserving their past orders and optionally reassigning their posts to another user ID.
Instructions
[UNIFIED] Permanently delete a WooCommerce customer (customers cannot be trashed). Their past orders are kept. Optionally reassign the user's posts to another user ID.
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": {
"site": "<site>",
"customer_id": "<customer_id>"
},
"name": "woocommerce_delete_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| reassign | No | ||
| customer_id | Yes |