updateCustomers
Update existing customer attributes (name, contact, address, gender, birthday, mail magazine, etc.) by applying a differential patch identified by customer ID. Only provided fields are updated; omitted fields remain unchanged.
Instructions
既存顧客(会員・非会員問わず)の属性(氏名・連絡先・住所・性別・生年月日・メルマガ受信設定など)に差分パッチを適用します。customer_id で対象を特定し、customer に含めたキーだけが置き換わります(省略したキーは変更されない)。会員ランクの変更は updateCustomerMembership、ポイント残高の増減は postCustomerPoints、現在値の確認は getCustomer、条件検索は getCustomers を参照。
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": {
"customer_id": "<customer_id>",
"customer": "<customer>"
},
"name": "updateCustomers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer | Yes | ||
| customer_id | Yes | 更新対象の顧客ID |