Zoho Creator and Quickbooks Update Records

Zoho Creator and Quickbooks Update Records

I have successfully configured adding a Customer record to QuickBooks from Zoho Creator, but I am now trying to configure updating records in Quickbooks when they are edited in Zoho Creator. I have put in the exact code in the sample on this help page:  https://www.zoho.com/creator/help/script/quickbooks-update-record.html and I get an error that the variable 'getResponse' is not defined. Has anyone come upon this issue? 

In searching for the record to update, I also would like to search for a record where the DisplayName == input.CustomerName, but the sample has the select query:  "SELECT * FROM Customer where DisplayName ='Henry'". How can I adapt this to use a Deluge variable instead of 'Henry'?