WooCommerce: Update customer
woocommerce_update_customerModify existing WooCommerce customer records by updating names, email, billing, shipping, and other profile fields. Use it to correct or refresh customer details without recreating accounts.
Instructions
[UNIFIED] Update an existing WooCommerce customer. Can update name, email, billing, shipping, and other customer fields.
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_update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| No | |||
| billing | No | ||
| shipping | No | ||
| last_name | No | ||
| first_name | No | ||
| customer_id | Yes |