Upsert customer
upsert_customer[demo: deshabilitada] Creates a new customer or updates an existing one for the authenticated business.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upsert_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Customer city or locality (optional). | |
| name | No | Customer display name. | |
| No | Customer email address (optional). | ||
| phone | No | Customer phone number. | |
| address | No | Customer street address (optional). | |
| customerId | No | When provided, updates the customer with this id. | |
| postalCode | No | Customer postal code (optional). |