curl --location -g --request PUT 'https://{{tenantname}}.onchannelcrm.app/api/BCSettings' \
--header 'CCRMAuthorize: <api-key>' \
--header 'Content-Type: application/json;odata.metadata=minimal;odata.streaming=true' \
--data-raw '{
"id": 0,
"enabled": true,
"appIdEnter": "",
"appId": "",
"appSecretEnter": "",
"appSecret": "",
"tenant": "",
"bcCompanyID": "",
"bcEnvironment": "",
"syncDebtors": true,
"syncProducts": true,
"syncInvoices": true,
"syncCreditMemos": true,
"createDebtorFromCRM": true,
"createOrderFromCRM": true,
"createCustomerInCRM": true,
"editDebtorFromCRM": true,
"orderCreateLevel": 0,
"debtorSyncDate": "",
"productSyncDate": "",
"invoiceSyncDate": "",
"autoCreateDebtorNum": true,
"productsDefaultAvailability": true,
"debtorGroupsForSync": "",
"onlySyncInvoicesWithCRMOrigin": true,
"defaultDebtorGroup": "",
"productGroupsForSync": "",
"dedicatedPricelists": true,
"curenciesToPricelists": "",
"includeDescription": true,
"syncSuppliers": true,
"createSupplierFromCRM": true,
"supplierSyncDate": "",
"autoCreateSupplierNumber": true,
"defaultSupplierGroup": "",
"defaultRelation": "",
"noAccesRelation": "",
"syncDebtorToCompany": true,
"syncDeliveryAddressToCompany": true,
"autoPopulatePriceGroupPrices": true,
"syncDeliveryAddressKAM": true,
"notifyMail": ""
}'