update_customer
Update a WooCommerce customer's name, email, billing, or shipping addresses. Modify only the fields you want to change and request specific response fields.
Instructions
Update customer details such as name, email, or addresses. Only include fields you want to change. Use fields param to request only needed 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": {
"id": "<id>"
},
"name": "update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Customer ID | |
| No | Customer email | ||
| fields | No | Comma-separated fields to return in response | |
| billing | No | Billing address | |
| shipping | No | Shipping address | |
| last_name | No | Last name | |
| first_name | No | First name |