"Customer": { "Name": "'.$customer['name'].'", "Website": "'.$customer['website'].'", "Address": "'.$customer['address'].'", "City": "'.$customer['city'].'", "StateProvince": "'.$customer['stateprovince'].'", "Country": "United States", "ZipPostalCode": "'.$customer['zippostalcode'].'", "PrimaryContact": { "Salutation": "'.$customer['salutation'].'", "FirstName": "'.$customer['first name'].'", "LastName": "'.$customer['last name'].'", "Title": "'.$customer['title'].'", "Email": "'.$customer['email'].'", "PhoneBusiness": { "Number":"'.$customer['phone'].'"} } '.$customer_fields.' }