curl --location -g --request PUT 'https://{{tenantname}}.onchannelcrm.app/api/CompanyAccount/' \
--header 'CCRMAuthorize: <api-key>' \
--header 'Content-Type: application/json;odata.metadata=minimal;odata.streaming=true' \
--data-raw '{
"id": "",
"debtorNumber": "",
"companyName": "",
"department": "",
"street1": "",
"street2": "",
"street3": "",
"city": "",
"zip": "",
"state": "",
"country": "",
"contactName": "",
"contactEmail": "",
"contactId": "",
"balance": 0,
"creditMaximum": 0,
"currencyCode": "",
"ean": "",
"termsOfPaymentId": 0,
"debtorGroupNumber": 0,
"priceGroupNumber": 0,
"publicEntryNumber": "",
"phone": "",
"countryName": "",
"isOpen": true,
"invoiceEMail": "",
"ciNumber": "",
"vat": "",
"ourReference": "",
"countryNavigation": {
"id": "",
"countryName": "",
"tooltip": "",
"english_name": "",
"zip_prefix": "",
"abbrev2": "",
"currency": "",
"domainName": "",
"defaultLcid": 0,
"dialInPrefix": "",
"dialOutPrefix": "",
"interAreaPrefix": "",
"customPhoneDesc": "",
"phonePartOfNA": 0,
"isoNumber": 0,
"businessUnits": {},
"companies": {},
"companyAccounts": {},
"companyFinanceCountryNavigations": {},
"contacts": {},
"favoriteReports": {},
"projects": {}
}
}'