update_settings
Update import settings for a company with incremental patches. Provide only the fields to modify to avoid overwriting unrelated settings.
Instructions
Updates per-company import settings. Pass only the fields you want to change inside 'settings' (e.g. { dateFormat: 'dd/MM/yyyy' }). Fetch current values with get_settings first so you don't clobber unrelated fields. Returns the updated settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | Yes | Company id from list_companies. | |
| settings | Yes | Settings patch. Common fields: dateFormat ('MM/dd/yyyy' | 'dd/MM/yyyy' | 'yyyy-MM-dd'), incrementDocNumber, createMissingProducts, createMissingAccounts, skipDuplicates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateFormat | No | Date parse format. | |
| incrementDocNumber | No | ||
| createMissingProducts | No | ||
| createMissingAccounts | No | ||
| skipDuplicates | No |