set_customer_custom_fields
Replaces all custom fields for a specified customer, removing any fields not included in the request. Use the patch alternative when only specific fields need updating.
Instructions
Set all custom fields on a customer, replacing any existing custom fields entirely. Any custom fields not included in the request body will be removed. Use patch_customer_custom_fields instead if you only want to update specific 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": {
"customerNumber": "<customerNumber>",
"customFields": "<customFields>"
},
"name": "set_customer_custom_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customFields | Yes | The complete set of custom fields as key-value pairs. This replaces all existing custom fields. | |
| customerNumber | Yes | The unique customer number whose custom fields should be replaced. |