ls_update_customer
Update an existing LemonSqueezy customer by ID, including name, email, city, region, country, or archive status. Use it to correct customer details or archive an account.
Instructions
Update an existing customer's name, email, city, region, country, or status. The only supported status value is 'archived'; setting it here archives the customer, the same operation as the dedicated archive-customer tool, and is treated as destructive (rate-limited and audited). Other field edits are not.
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": {
"customerId": "<customerId>"
},
"name": "ls_update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | New city | |
| name | No | New name | |
| No | New email | ||
| region | No | New region/state | |
| status | No | Set to 'archived' to archive the customer. Same effect as the dedicated archive-customer tool. | |
| country | No | New country (ISO 3166-1 alpha-2 code) | |
| customerId | Yes | The customer ID to update |