update_customer
Update an existing Shopify customer by ID. Modify email, phone, name, or marketing preferences to keep customer data accurate.
Instructions
Update an existing customer
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": "update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Customer ID (e.g., 'gid://shopify/Customer/123456789') | |
| No | Customer email | ||
| phone | No | Customer phone | |
| lastName | No | Customer last name | |
| firstName | No | Customer first name | |
| acceptsMarketing | No | Whether customer accepts marketing |