## Update employer settings `client.employers.updateSettings(stringemployerID, EmployerUpdateSettingsParamsbody, RequestOptionsoptions?): EmployerUpdateSettingsResponse` **put** `/v1/employers/{employer_id}/settings` Updates configuration settings for a specific employer. The employer must belong to the authenticated organization. ### Parameters - `employerID: string` Unique employer identifier (empr_*) - `body: EmployerUpdateSettingsParams` - `pay_frequency: "weekly" | "bi_weekly" | "semi_monthly" | "monthly"` * `weekly` - weekly * `bi_weekly` - bi_weekly * `semi_monthly` - semi_monthly * `monthly` - monthly - `"weekly"` - `"bi_weekly"` - `"semi_monthly"` - `"monthly"` ### Returns - `EmployerUpdateSettingsResponse` Response containing a single employer settings resource. - `data: Data` - `pay_frequency: "weekly" | "bi_weekly" | "semi_monthly" | "monthly" | null` * `weekly` - Weekly * `bi_weekly` - Bi-Weekly * `semi_monthly` - Semi-Monthly * `monthly` - Monthly - `"weekly"` - `"bi_weekly"` - `"semi_monthly"` - `"monthly"` ### Example ```typescript import VitableConnect from '@vitable-inc/vitable-connect'; const client = new VitableConnect({ apiKey: process.env['VITABLE_CONNECT_API_KEY'], // This is the default and can be omitted }); const response = await client.employers.updateSettings('empr_abc123def456', { pay_frequency: 'bi_weekly', }); console.log(response.data); ``` #### Response ```json { "data": { "pay_frequency": "bi_weekly" } } ```