public async Task <string> PostRentMagicCustomerAsync(string path, string token, Customer customer)
        {
            ExactOnlineCustomer exactOnlineCustomer = null;

            exactOnlineCustomer = MapExactOnlineCustomer(customer);

            var stringContent = new StringContent(JsonConvert.SerializeObject(exactOnlineCustomer), Encoding.UTF8, "application/json");

            client.DefaultRequestHeaders.Add("Authorization", $"Bearer {token}");
            client.DefaultRequestHeaders.Add("Accept", "application/json");

            var result = await client.PostAsync("https://start.exactonline.nl/api/v1/2757837/crm/Accounts", stringContent);

            return("");
        }
        private ExactOnlineCustomer MapExactOnlineCustomer(Customer customer)
        {
            ExactOnlineCustomer exactOnlineCustomer = new ExactOnlineCustomer()
            {
                ID           = customer.CustomerID,
                City         = customer.City,
                Name         = customer.CompanyName,
                Country      = customer.CountryID,
                Email        = customer.Email,
                AddressLine1 = customer.Street + " " + customer.HouseNumber + customer.HouseNumberAddition,
                Language     = customer.LanguageID,
                Phone        = customer.Tel,
                Postcode     = customer.ZipCode,
                StateName    = customer.State,
                Status       = "C"
            };

            return(exactOnlineCustomer);
        }