Update Account Setting
gorgias_update_account_settingUpdate an account setting by ID with new configuration data, replacing the existing values. Manage settings like business-hours via a clear API call.
Instructions
PUT /api/account/settings/{id} — Update a setting for the current account. Replaces the existing configuration of the AccountSetting identified by its ID.
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>",
"type": "<type>"
},
"name": "gorgias_update_account_setting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the setting to update | |
| data | No | The new configuration data for the setting. Replaces the existing data entirely. Pass null to clear. For 'business-hours': { timezone: string, business_hours: { days: string, from_time: string, to_time: string } } | |
| name | No | Human-readable name for this setting. Pass null to clear. | |
| type | Yes | The type/category of the setting. Should match the existing setting's type (e.g. 'business-hours') |