update_customer
Update a customer's name or marketing opt-in. Only specified fields change, with dry-run preview and confirmation before writing.
Instructions
Modifies merchant data. Update a customer's name and/or marketing opt-in.
Only the fields you pass change. Previews on dry_run; confirms via MCP elicitation or confirm=True before writing. Requires CUSTOMERS_W.
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": {
"customer_id": "<customer_id>"
},
"name": "update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| dry_run | No | ||
| last_name | No | ||
| first_name | No | ||
| customer_id | Yes | ||
| marketing_allowed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||