update_customer
Update customer information including name, email, phone, address, and document for the current seller. Provide the customer ID and new field values.
Instructions
Update a customer's information for the current seller.
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 | |
| city | No | ||
| name | No | ||
| No | |||
| phone | No | Phone with area code | |
| state | No | 2-letter state code | |
| number | No | ||
| street | No | ||
| zipCode | No | ||
| document | No | CPF (11 digits) or CNPJ (14 digits) | |
| complement | No | ||
| personType | No | ||
| neighborhood | No |