Update PrestaShop Customer
ps_update_customerUpdate an existing PrestaShop customer's name, email, active status, or newsletter subscription by ID; passwords cannot be changed for security.
Instructions
Update an existing customer's information.
⚠️ Requires PS_READONLY=false and PUT enabled on the PrestaShop Webservice key. Note: Password cannot be modified through this tool for security reasons.
Args:
id: Customer ID (required)
firstname: First name
lastname: Last name
email: Email address
active: Activate/deactivate
newsletter: Newsletter subscription
Returns: Confirmation with updated fields.
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": {
"id": "<id>"
},
"name": "ps_update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Customer ID | |
| No | Email address | ||
| active | No | Activate or deactivate | |
| lastname | No | Last name | |
| firstname | No | First name | |
| newsletter | No | Newsletter subscription | |
| confirmation_token | No | Confirmation token |