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.
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') |