ls_update_customer
Update a customer's name, email, city, region, country, or archive status. Provide the customer ID and new values to modify their record.
Instructions
Update an existing customer's name, email, city, region, country, or status. The only supported status value is 'archived'; setting it here is the same operation as ls_archive_customer and is treated as destructive (rate-limited and audited). Other field edits are not.
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. Equivalent to calling ls_archive_customer. | |
| country | No | New country (ISO 3166-1 alpha-2 code) | |
| customerId | Yes | The customer ID to update |