vaultix_update_customer
Modify customer details like name, email, or phone number in the Vaultix payment system using their customer ID.
Instructions
Update a customer
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Customer ID | |
| name | No | New name | |
| No | New email | ||
| phone | No | New phone |
Implementation Reference
- src/tools/index.ts:473-475 (handler)Handler logic in the switch statement that destructures the customer ID from args and calls client.put to update the customer via the Vaultix API.case 'vaultix_update_customer': const { id: custId, ...custUpdates } = args return client.put(`/customers/${custId}`, custUpdates)
- src/tools/index.ts:104-117 (schema)Tool definition including name, description, and input schema specifying parameters for updating a customer (id required, optional name, email, phone).{ name: 'vaultix_update_customer', description: 'Update a customer', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Customer ID' }, name: { type: 'string', description: 'New name' }, email: { type: 'string', description: 'New email' }, phone: { type: 'string', description: 'New phone' }, }, required: ['id'], }, },